Class: YSM::UserManagementService::Authorization

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, accountType = nil, role = nil) ⇒ Authorization

Returns a new instance of Authorization.



123
124
125
126
127
# File 'lib/ysm4r/v1/UserManagementService.rb', line 123

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

Instance Attribute Details

#accountIDObject

Returns the value of attribute accountID.



119
120
121
# File 'lib/ysm4r/v1/UserManagementService.rb', line 119

def accountID
  @accountID
end

#accountTypeObject

Returns the value of attribute accountType.



120
121
122
# File 'lib/ysm4r/v1/UserManagementService.rb', line 120

def accountType
  @accountType
end

#roleObject

Returns the value of attribute role.



121
122
123
# File 'lib/ysm4r/v1/UserManagementService.rb', line 121

def role
  @role
end