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.



718
719
720
721
722
# File 'lib/td/client/model.rb', line 718

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.



724
725
726
# File 'lib/td/client/model.rb', line 724

def client
  @client
end

#emailObject (readonly)

Returns the value of attribute email.



724
725
726
# File 'lib/td/client/model.rb', line 724

def email
  @email
end

#nameObject (readonly)

Returns the value of attribute name.



724
725
726
# File 'lib/td/client/model.rb', line 724

def name
  @name
end

#org_nameObject (readonly)

Returns the value of attribute org_name.



724
725
726
# File 'lib/td/client/model.rb', line 724

def org_name
  @org_name
end

#role_namesObject (readonly)

Returns the value of attribute role_names.



724
725
726
# File 'lib/td/client/model.rb', line 724

def role_names
  @role_names
end