Class: TreasureData::User

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, org_name, role_names, email) ⇒ User



479
480
481
482
483
484
485
# File 'lib/td/client/model.rb', line 479

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

Instance Attribute Details

#clientObject (readonly)

Returns the value of attribute client.



487
488
489
# File 'lib/td/client/model.rb', line 487

def client
  @client
end

#emailObject (readonly)

Returns the value of attribute email.



487
488
489
# File 'lib/td/client/model.rb', line 487

def email
  @email
end

#nameObject (readonly)

Returns the value of attribute name.



487
488
489
# File 'lib/td/client/model.rb', line 487

def name
  @name
end

#org_nameObject (readonly)

Returns the value of attribute org_name.



487
488
489
# File 'lib/td/client/model.rb', line 487

def org_name
  @org_name
end

#role_namesObject (readonly)

Returns the value of attribute role_names.



487
488
489
# File 'lib/td/client/model.rb', line 487

def role_names
  @role_names
end