Archive for the 'ruby' category

Accessing FedEx Web Services From Ruby/Rails

I recently played around with adding FedEx shipping services to the active_shipping plugin and found a bit of confusion online in regards to how to hit FedEx depending upon the style of service being exposed. Somewhat confusingly, FedEx has non-SOAP services as well as SOAP services that you can hit restfully in an HTTPS Post. [...]

Lightweight Ruby Web Services

The recent Oreilly book Enterprise Rails has a few chapters on SOA and the entire time I was reading those chapters I kept thinking to myself that Rails is sorta overkill for most services implementations, unless you plan on bundling APIs and applications together. I was going to write something about translating the services discussed [...]

Netflix API Authentication with the Ruby Oauth Gem

For any folks out there struggling to get the Ruby OAuth gem working with Netflix authentication, here’s a quick run down on how to get started. The 0.2.7 version of Ruby OAuth isn’t totally compatible with the Netflix authentication APIs. However, thanks to the grooviness that it is GitHub, Rob Ares graciously forked the OAuth [...]

DataMapper Adapter for Netflix

I’ve apparently caught the DM Adapter bug, as I’ve decided to write one to access Netflix while I finish up my MailChimp adapter. I’ll be posting as I go along, as I’ve been learning quite a bit about the inner workings of DataMapper while going through this process. Cheers.

Writing a DataMapper Adapter to Access MailChimp Web Services From Merb

As I mentioned in my last post, I’ve started looking into writing DataMapper Adapters, using my MailChimp wrapper as an example. Thus far, I’ve been pretty impressed with the Adapter layer built into DataMapper and the possibilities this abstraction layer provides. A quick search over at GitHub will show you all the interesting things folks [...]

DataMapper Adapter for MailChimp

Inspired by this post by The Merbist, I’ve decided to begin writing a Datamapper Adapter for MailChimp as a follow up to my post about creating a Merb web service. Look here for updates. Just an empty shell at the moment, but I’ll remedy that shortly.