Exception: FacebookSDK::ApiException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/facebook_sdk/apiexception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#resultObject

Returns the value of attribute result.



3
4
5
# File 'lib/facebook_sdk/apiexception.rb', line 3

def result
  @result
end

Instance Method Details

#typeObject



9
10
11
# File 'lib/facebook_sdk/apiexception.rb', line 9

def type
  @result.type
end