addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcredit-cardcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobe--smallglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1launch-new-window--smalllight-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Re: [ruby-99] A Powerful Twitter API Wrapper in less than 50 lines using Ruby Metaprogramming

From: William C.
Sent on: Wednesday, May 5, 2010 5:50 AM
1. You shouldn't be using Basic Auth since Twitter is turning off Basic Auth by July.

2. You could've written a RESTful API wrapper using ActiveResource in probably twenty lines of code or less.

3. You should write tests.




--- On Tue, 4/5/10, Greg Osuri <[address removed]> wrote:

> From: Greg Osuri <[address removed]>
> Subject: [ruby-99] A Powerful Twitter API Wrapper in less than 50 lines using Ruby Metaprogramming
> To: [address removed]
> Date: Tuesday, 4 May, 2010, 9:13 PM
> Hi,
> 
> I've been long fascinated about active record dynamic
> finders (find_by_) and wanted to write some thing similarly
> elegant
> 
> Opportunity showed up to write a simple Ruby Wrapper for
> Twitter and I wanted to share code with you. Please review
> my blog post http://gregosuri....­
> 
> Thanks,
> Greg.
> 
> 
> 
> --
> Please Note: If you hit "REPLY", your message will be sent
> to everyone on this mailing list ([address removed])
> http://www.meetup...­
> This message was sent by Greg Osuri ([address removed])
> from Silicon Valley Ruby Meetup.
> To learn more about Greg Osuri, visit his/her member
> profile: http://www.meetup...­
> To unsubscribe or to update your mailing list settings,
> click here: http://www.meetup...­
> Meetup, PO Box 4668 #37895 New York, New York[masked] |
> [address removed]
> 
> 


People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy