class Spear::Structure::User::CheckExisting

Attributes

check_status[R]
external_id[R]
oauth_token[R]

Public Class Methods

new(response) click to toggle source
Calls superclass method Spear::Structure::Base::new
# File lib/spear/structure/user/check_existing.rb, line 7
def initialize(response)
  super(response)

  @external_id = @root["ResponseExternalID"]
  @oauth_token = @root["ResponseOAuthToken"]
  @check_status = @root['UserCheckStatus']
end

Public Instance Methods

success?() click to toggle source
Calls superclass method Spear::Structure::Base#success?
# File lib/spear/structure/user/check_existing.rb, line 15
def success?
  super and @check_status.eql?('EmailExistsPasswordsMatch')
end