Module: HyperTrack::ApiOperations::Common::Patch
- Included in:
- SharedResource
- Defined in:
- lib/hypertrack/api_operations/common/patch.rb
Instance Method Summary collapse
Instance Method Details
#patch(params = {}) ⇒ Object
6 7 8 9 10 |
# File 'lib/hypertrack/api_operations/common/patch.rb', line 6 def patch(params={}) api_path = "#{self.class::API_BASE_PATH}#{self.id}/" result = HyperTrack::ApiClient.patch(api_path, params) update_attributes_in_object(result) end |