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.



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

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

Instance Attribute Details

#clientObject (readonly)

Returns the value of attribute client.



462
463
464
# File 'lib/td/client/model.rb', line 462

def client
  @client
end

#nameObject (readonly)

Returns the value of attribute name.



462
463
464
# File 'lib/td/client/model.rb', line 462

def name
  @name
end