lib/hal_client/representation.rb
# Patchs a `Representation` or `String` to this resource. Causes
# this representation to be reloaded the next time it is used.
#
# data - a `String` or an object that responds to `#to_hal`
# options - set of options to pass to `HalClient#patch`
Patchs a `Representation` or `String` to this resource. Causes
this representation to be reloaded the next time it is used.


Patchs a ` Representation ` or ` String ` to this resource . Causes this representation to be reloaded the next time it is used .
def patch(data, options={})
      @hal_client.patch(href, data, options).tap do
        reset
      end
    end
def patch ( data , options = { } ) @hal_client . patch ( href , data , options ) . tap do reset end end
Patchs a `Representation` or `String` to this resource.
Patchs a ` Representation ` or ` String ` to this resource .
data
<not_specific>
options
<not_specific>