Class: TreasureData::Organization

Inherits:
Model
  • Object
show all
Defined in:
lib/td/client/model.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client, name) ⇒ Organization

Returns a new instance of Organization.



452
453
454
455
# File 'lib/td/client/model.rb', line 452

def initialize(client, name)
  super(client)
  @name = name
end

Instance Attribute Details

#clientObject (readonly)

Returns the value of attribute client.



457
458
459
# File 'lib/td/client/model.rb', line 457

def client
  @client
end

#nameObject (readonly)

Returns the value of attribute name.



457
458
459
# File 'lib/td/client/model.rb', line 457

def name
  @name
end