Class: OData::UpdateOperation
- Inherits:
-
CreateOperation
- Object
- Operation
- CreateOperation
- OData::UpdateOperation
- Defined in:
- lib/odata/update_operation.rb
Instance Attribute Summary
Attributes inherited from Operation
Instance Method Summary collapse
Methods inherited from CreateOperation
#handle_operation_response, #operation_body
Methods inherited from Operation
#base_url, #check_response_errors, #entity_name, #handle_operation_response, #initialize, #many_to_many_associated_table_name, #many_to_many_binding_name, #many_to_many_class_name, #many_to_many_entity_id, #many_to_many_entity_name, #many_to_many_foreign_key, #many_to_many_table?, #many_to_many_table_name, #many_to_many_use_old_api?, #old_base_url, #operation_body, #operation_headers, #operation_password, #operation_username, #run, #saved_many_to_many_id, #send_odata, #table_pluralize
Constructor Details
This class inherits a constructor from OData::Operation
Instance Method Details
#operation_callback_name ⇒ Object
8 9 10 |
# File 'lib/odata/update_operation.rb', line 8 def operation_callback_name :update end |
#operation_method ⇒ Object
4 5 6 |
# File 'lib/odata/update_operation.rb', line 4 def operation_method :patch end |
#operation_url ⇒ Object
12 13 14 |
# File 'lib/odata/update_operation.rb', line 12 def operation_url "#{base_url}#{entity_name}(#{@ar.id})" end |