Class: Chargify::Migration::Preview
- Defined in:
- lib/chargify_api_ares/resources/migration.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#create ⇒ Object
18 19 20 21 |
# File 'lib/chargify_api_ares/resources/migration.rb', line 18 def create response = post(:preview, {}, attributes.send("to_#{self.class.format.extension}", :root => :migration, :dasherize => false)) load_attributes_from_response(response) end |