class Portmone::Responses::GenerateURL

Public Instance Methods

location() click to toggle source
# File lib/portmone/responses/generate_url.rb, line 6
def location
  response.headers['location']
end
success?() click to toggle source
# File lib/portmone/responses/generate_url.rb, line 2
def success?
  location.present? && http_status == 302
end