Class: Neows::Models::BaseModel

Inherits:
Object
  • Object
show all
Defined in:
lib/neows/models/base_model.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ BaseModel


10
11
12
13
# File 'lib/neows/models/base_model.rb', line 10

def initialize(attributes = {})
  @client = attributes.delete :client
  super(attributes)
end

Instance Attribute Details

#clientObject

Returns the value of attribute client


8
9
10
# File 'lib/neows/models/base_model.rb', line 8

def client
  @client
end