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

Returns a new instance of User.



726
727
728
729
730
# File 'lib/td/client/model.rb', line 726

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

Instance Attribute Details

#clientObject (readonly)

Returns the value of attribute client.



732
733
734
# File 'lib/td/client/model.rb', line 732

def client
  @client
end

#emailObject (readonly)

Returns the value of attribute email.



732
733
734
# File 'lib/td/client/model.rb', line 732

def email
  @email
end

#nameObject (readonly)

Returns the value of attribute name.



732
733
734
# File 'lib/td/client/model.rb', line 732

def name
  @name
end

#org_nameObject (readonly)

Returns the value of attribute org_name.



732
733
734
# File 'lib/td/client/model.rb', line 732

def org_name
  @org_name
end

#role_namesObject (readonly)

Returns the value of attribute role_names.



732
733
734
# File 'lib/td/client/model.rb', line 732

def role_names
  @role_names
end