1
vote
0answers
45 views

General Code Review - Key Press Handler

I have made a class to import into my projects to more easily handle the state of the keyboard so I can use stuff like: if(Keys.returnKey(37)){ As opposed to setting up key listeners. Could you ...
1
vote
2answers
167 views

Ruby - class definition for connecting to external API

I've defined a Client class to connect to an external API. The Client class will return XML responses for various resources. Here's what it looks like now: require 'nokogiri' class Client ...
0
votes
0answers
1k views

Gmail Contacts API Connection Review

I created this class that connects to gMail contacts, and enables you to add/edit/delete the contact. Curious to see what others think of my code... if you see any areas for improvement, that would ...