Class: Fulcrum::Changeset
- Includes:
- Actions::Create, Actions::Find, Actions::List, Actions::Update
- Defined in:
- lib/fulcrum/changeset.rb
Constant Summary
Constants included from Actions::List
Actions::List::DEFAULT_PER_PAGE
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods included from Actions::Update
Methods included from Actions::Create
Methods included from Actions::Find
Methods included from Actions::List
Methods inherited from Resource
#attributes_for_object, #call, #collection, #initialize, #member, #member_action, #resource_name, #resources_name
Constructor Details
This class inherits a constructor from Fulcrum::Resource
Instance Method Details
#close(id, object = {}) ⇒ Object
8 9 10 |
# File 'lib/fulcrum/changeset.rb', line 8 def close(id, object={}) call(:put, member_action(id, 'close'), attributes_for_object(object))[resource_name] end |