Hi Ben, I guess you are going to create an order on the remote service, why don't you use ActiveResource in the following way?
class Order < ActiveResource::Base self.site = "http://api.example.com" headers["X-TheRequiredApplicationKey"] = "ThisIsAReallyGreatApplicationKey" headers["X-TheRequiredUserKey"] = "ThisIsAReallyGreatUserKey" end order = Order.create(...) Luca -- blog: www.lucaguidi.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
