class MC2P::ChangeResourceMixin
Allows send requests of change
Public Instance Methods
change(resource_id, data)
click to toggle source
Params:
resource_id
-
id to request
data
-
data used on the request
Returns: an object item class with the response of the server
# File lib/mixins.rb, line 284 def change(resource_id, data) _one_item('patch', data, resource_id) end