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.



469
470
471
472
473
# File 'lib/td/client/model.rb', line 469

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

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



475
476
477
# File 'lib/td/client/model.rb', line 475

def name
  @name
end

#org_nameObject (readonly)

Returns the value of attribute org_name.



475
476
477
# File 'lib/td/client/model.rb', line 475

def org_name
  @org_name
end

#urlObject (readonly)

Returns the value of attribute url.



475
476
477
# File 'lib/td/client/model.rb', line 475

def url
  @url
end