ActiveRecord wrapper for REST APIs