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