Class: TreasureData::Result

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

Instance Attribute Summary collapse

Attributes inherited from Model

#client

Instance Method Summary collapse

Constructor Details

#initialize(client, name, url, org_name) ⇒ Result

Returns a new instance of Result.

Parameters:



655
656
657
658
659
# File 'lib/td/client/model.rb', line 655

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

Instance Attribute Details

#nameObject (readonly)



664
665
666
# File 'lib/td/client/model.rb', line 664

def name
  @name
end

#org_nameObject (readonly)

Returns the value of attribute org_name.



664
# File 'lib/td/client/model.rb', line 664

attr_reader :name, :url, :org_name

#urlObject (readonly)



664
# File 'lib/td/client/model.rb', line 664

attr_reader :name, :url, :org_name