Class: TreasureData::Role

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, user_names) ⇒ Role

Returns a new instance of Role.



467
468
469
470
471
472
# File 'lib/td/client/model.rb', line 467

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

Instance Attribute Details

#clientObject (readonly)

Returns the value of attribute client.



474
475
476
# File 'lib/td/client/model.rb', line 474

def client
  @client
end

#nameObject (readonly)

Returns the value of attribute name.



474
475
476
# File 'lib/td/client/model.rb', line 474

def name
  @name
end

#org_nameObject (readonly)

Returns the value of attribute org_name.



474
475
476
# File 'lib/td/client/model.rb', line 474

def org_name
  @org_name
end

#user_namesObject (readonly)

Returns the value of attribute user_names.



474
475
476
# File 'lib/td/client/model.rb', line 474

def user_names
  @user_names
end