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.



797
798
799
800
801
# File 'lib/td/client/model.rb', line 797

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.



803
804
805
# File 'lib/td/client/model.rb', line 803

def client
  @client
end

#emailObject (readonly)

Returns the value of attribute email.



803
804
805
# File 'lib/td/client/model.rb', line 803

def email
  @email
end

#nameObject (readonly)

Returns the value of attribute name.



803
804
805
# File 'lib/td/client/model.rb', line 803

def name
  @name
end

#org_nameObject (readonly)

Returns the value of attribute org_name.



803
804
805
# File 'lib/td/client/model.rb', line 803

def org_name
  @org_name
end

#role_namesObject (readonly)

Returns the value of attribute role_names.



803
804
805
# File 'lib/td/client/model.rb', line 803

def role_names
  @role_names
end