Exception: FacebookSDK::ApiException
- Inherits:
-
StandardError
- Object
- StandardError
- FacebookSDK::ApiException
- Defined in:
- lib/facebook_sdk/apiexception.rb
Instance Attribute Summary collapse
-
#result ⇒ Object
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(result) ⇒ ApiException
constructor
A new instance of ApiException.
- #type ⇒ Object
Constructor Details
#initialize(result) ⇒ ApiException
Returns a new instance of ApiException.
5 6 7 |
# File 'lib/facebook_sdk/apiexception.rb', line 5 def initialize(result) @result = result end |
Instance Attribute Details
#result ⇒ Object
Returns the value of attribute result.
3 4 5 |
# File 'lib/facebook_sdk/apiexception.rb', line 3 def result @result end |
Instance Method Details
#type ⇒ Object
9 10 11 |
# File 'lib/facebook_sdk/apiexception.rb', line 9 def type @result.type end |