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:



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

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

Instance Attribute Details

#nameObject (readonly)



671
672
673
# File 'lib/td/client/model.rb', line 671

def name
  @name
end

#org_nameObject (readonly)

Returns the value of attribute org_name.



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

attr_reader :name, :url, :org_name

#urlObject (readonly)



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

attr_reader :name, :url, :org_name