Method: JsonApiClient::Resource#update

Defined in:
lib/json_api_client/resource.rb

#update(attrs = {}) ⇒ Boolean

Alias to update_attributes

Parameters:

  • attrs (Hash) (defaults to: {})

    Attributes to update

Returns:

  • (Boolean)

    Whether the update succeeded or not



407
408
409
# File 'lib/json_api_client/resource.rb', line 407

def update(attrs = {})
  update_attributes(attrs)
end