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.
219 220 221 |
# File 'lib/opsmgr/api/results.rb', line 219 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.
217 218 219 |
# File 'lib/opsmgr/api/results.rb', line 217 def user_id @user_id end |
Instance Method Details
#user_already_existed? ⇒ Boolean
223 224 225 |
# File 'lib/opsmgr/api/results.rb', line 223 def user_already_existed? false end |