Class: Netfira::WebConnect::RackApp::Action::Version8::Commit
- Inherits:
-
Netfira::WebConnect::RackApp::Action
- Object
- Netfira::WebConnect::RackApp::Action
- Netfira::WebConnect::RackApp::Action::Version8::Commit
- Defined in:
- lib/netfira/web_connect/rack_app/actions/version_8/commit.rb,
lib/netfira/web_connect/rack_app/actions/version_8/commit/records.rb,
lib/netfira/web_connect/rack_app/actions/version_8/commit/relations.rb
Instance Attribute Summary
Attributes inherited from Netfira::WebConnect::RackApp::Action
#env, #headers, #input, #path, #query_string, #shop, #timeout, #verb
Instance Method Summary collapse
Methods inherited from Netfira::WebConnect::RackApp::Action
action_classes, #class_for_record_type, #class_for_relation_type, create, #header, #import_env, #initialize, latest_version
Constructor Details
This class inherits a constructor from Netfira::WebConnect::RackApp::Action
Instance Method Details
#call ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/netfira/web_connect/rack_app/actions/version_8/commit.rb', line 5 def call raise MethodNotAllowed unless verb == :put commit_records input['records'] if input['records'] commit_relations input['relations'] if input['relations'] { complete: complete, filesToSend: files_to_send } end |