Method: Playapi::Base#update

Defined in:
lib/playapi/base.rb

#update(attrs) ⇒ Playapi::Base

Update the attributes of an object

Parameters:

  • attrs (Hash)

Returns:



103
104
105
106
# File 'lib/playapi/base.rb', line 103

def update(attrs)
  @attrs.update(attrs)
  self
end