Class: YSM::UserManagementService::UserAuthorization

Inherits:
Object
  • Object
show all
Defined in:
lib/ysm4r/v1/UserManagementService.rb,
lib/ysm4r/v2/UserManagementService.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(accountID = nil, role = nil, username = nil) ⇒ UserAuthorization

Returns a new instance of UserAuthorization.



170
171
172
173
174
# File 'lib/ysm4r/v1/UserManagementService.rb', line 170

def initialize(accountID = nil, role = nil, username = nil)
  @accountID = accountID
  @role = role
  @username = username
end

Instance Attribute Details

#accountIDObject

Returns the value of attribute accountID.



166
167
168
# File 'lib/ysm4r/v1/UserManagementService.rb', line 166

def accountID
  @accountID
end

#roleObject

Returns the value of attribute role.



167
168
169
# File 'lib/ysm4r/v1/UserManagementService.rb', line 167

def role
  @role
end

#usernameObject

Returns the value of attribute username.



168
169
170
# File 'lib/ysm4r/v1/UserManagementService.rb', line 168

def username
  @username
end