Module: Jsonism::Resources::Updatable
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/jsonism/resources/updatable.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#update(params = {}, headers = {}) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/jsonism/resources/updatable.rb', line 6 def update(params = {}, headers = {}) Request.call( client: @client, headers: headers, link: self.class.link_for_update, params: read_only_properties.merge(changed_properties.merge(params)), ) end |