Class: Spear::Structure::User::Create
- Defined in:
- lib/spear/structure/user/create.rb
Instance Attribute Summary collapse
-
#external_id ⇒ Object
readonly
Returns the value of attribute external_id.
Attributes inherited from Base
#error_message, #response, #root, #status
Instance Method Summary collapse
-
#initialize(response) ⇒ Create
constructor
A new instance of Create.
Methods inherited from Base
Constructor Details
#initialize(response) ⇒ Create
Returns a new instance of Create.
7 8 9 10 11 |
# File 'lib/spear/structure/user/create.rb', line 7 def initialize(response) super(response) @external_id = @root["ResponseExternalID"] end |
Instance Attribute Details
#external_id ⇒ Object (readonly)
Returns the value of attribute external_id.
5 6 7 |
# File 'lib/spear/structure/user/create.rb', line 5 def external_id @external_id end |