Shannon Skipper (havenwood) has been a Rubyist since 1.9.3 and helps maintain chruby, ruby-install, RVM and an odd assortment of gems. Shannon lives in Los Angeles is and an Engineer and Evangelist at Square.View the profile
About the talk
RailsConf 2019 - Learn to Make an API-Backed Model with Square’s Ruby SDK by Shannon Skipper
This is a sponsored talk by Square.
Active Model is flexible enough to provide a model interface to APIs, not just databases! We’ll look at how to go beyond just including ActiveModel::Model to implement a rich set of Active Model features, including the recently-added Rails 5 Attributes API. How does this compare to Active Resource? What does it look like in your controller? We’ll answer these questions by exploring an example that wraps Square’s Customers API in a full-featured Rails model.
Buy this talk
Access to all the recordings of the event
Buy this video
With ConferenceCast.tv, you get access to our library of the world's best conference talks.