Class: Spear::Structure::User::Create

Inherits:
Base
  • Object
show all
Defined in:
lib/spear/structure/user/create.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#error_message, #response, #root, #status

Instance Method Summary collapse

Methods inherited from Base

#success?

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_idObject (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