class Cb::Responses::User::ChangePassword

Protected Instance Methods

extract_models() click to toggle source
# File lib/cb/responses/user/change_password.rb, line 24
def extract_models
  model = Model.new
  model.status = response[root_node][status_node]
  model
end
hash_containing_metadata() click to toggle source
# File lib/cb/responses/user/change_password.rb, line 30
def hash_containing_metadata
  response
end
validate_api_hash() click to toggle source
# File lib/cb/responses/user/change_password.rb, line 19
def validate_api_hash
  required_response_field(root_node, response)
  required_response_field(request_node, response[root_node])
end

Private Instance Methods

request_node() click to toggle source
# File lib/cb/responses/user/change_password.rb, line 40
def request_node
  'Request'
end
root_node() click to toggle source
# File lib/cb/responses/user/change_password.rb, line 36
def root_node
  'ResponseUserChangePW'
end
status_node() click to toggle source
# File lib/cb/responses/user/change_password.rb, line 44
def status_node
  'Status'
end