Exception: FacebookCommerce::Api::UnexpectedHttpResponse
- Inherits:
-
StandardError
- Object
- StandardError
- FacebookCommerce::Api::UnexpectedHttpResponse
- Defined in:
- lib/facebook_commerce.rb
Instance Method Summary collapse
-
#initialize(response) ⇒ UnexpectedHttpResponse
constructor
A new instance of UnexpectedHttpResponse.
Constructor Details
#initialize(response) ⇒ UnexpectedHttpResponse
Returns a new instance of UnexpectedHttpResponse.
24 25 26 |
# File 'lib/facebook_commerce.rb', line 24 def initialize(response) super response. || response.code end |