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.



709
710
711
712
713
# File 'lib/td/client/model.rb', line 709

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.



715
716
717
# File 'lib/td/client/model.rb', line 715

def client
  @client
end

#emailObject (readonly)

Returns the value of attribute email.



715
716
717
# File 'lib/td/client/model.rb', line 715

def email
  @email
end

#nameObject (readonly)

Returns the value of attribute name.



715
716
717
# File 'lib/td/client/model.rb', line 715

def name
  @name
end

#org_nameObject (readonly)

Returns the value of attribute org_name.



715
716
717
# File 'lib/td/client/model.rb', line 715

def org_name
  @org_name
end

#role_namesObject (readonly)

Returns the value of attribute role_names.



715
716
717
# File 'lib/td/client/model.rb', line 715

def role_names
  @role_names
end