Class: Opsmgr::Api::CreateFirstUserResult
- Defined in:
- lib/opsmgr/api/results.rb
Instance Attribute Summary collapse
-
#user_id ⇒ Object
readonly
Returns the value of attribute user_id.
Attributes inherited from Result
Instance Method Summary collapse
-
#initialize(user_hash) ⇒ CreateFirstUserResult
constructor
A new instance of CreateFirstUserResult.
- #user_already_existed? ⇒ Boolean
Methods inherited from Result
Constructor Details
#initialize(user_hash) ⇒ CreateFirstUserResult
Returns a new instance of CreateFirstUserResult.
234 235 236 |
# File 'lib/opsmgr/api/results.rb', line 234 def initialize(user_hash) @user_id = user_hash['user']['id'] end |
Instance Attribute Details
#user_id ⇒ Object (readonly)
Returns the value of attribute user_id.
232 233 234 |
# File 'lib/opsmgr/api/results.rb', line 232 def user_id @user_id end |
Instance Method Details
#user_already_existed? ⇒ Boolean
238 239 240 |
# File 'lib/opsmgr/api/results.rb', line 238 def user_already_existed? false end |