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:



667
668
669
670
671
# File 'lib/td/client/model.rb', line 667

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

Instance Attribute Details

#nameObject (readonly)



676
677
678
# File 'lib/td/client/model.rb', line 676

def name
  @name
end

#org_nameObject (readonly)

Returns the value of attribute org_name.



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

attr_reader :name, :url, :org_name

#urlObject (readonly)



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

attr_reader :name, :url, :org_name