Class: Pgai::Resources::Remote::DbObject

Inherits:
BaseRecord
  • Object
show all
Defined in:
lib/pgai/resources/remote/db_object.rb

Instance Method Summary collapse

Methods inherited from BaseRecord

client, #client, client=, with_client

Methods included from Attributes

#assign_attribute, #assign_attributes, #has_attribute?, included, #initialize

Instance Method Details

#refresh_attributes(data) ⇒ Object



17
18
19
# File 'lib/pgai/resources/remote/db_object.rb', line 17

def refresh_attributes(data)
  super(data.except(:username, :password))
end