Method: Jsonism::Resources::Updatable#update
- Defined in:
- lib/jsonism/resources/updatable.rb
#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 |