Exception: MessageQuickly::Api::GraphMethodException
- Inherits:
-
StandardError
- Object
- StandardError
- MessageQuickly::Api::GraphMethodException
- Defined in:
- lib/message_quickly/api/graph_method_exception.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#fbtrace_id ⇒ Object
readonly
Returns the value of attribute fbtrace_id.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ GraphMethodException
constructor
A new instance of GraphMethodException.
- #message ⇒ Object
Constructor Details
#initialize(params = {}) ⇒ GraphMethodException
Returns a new instance of GraphMethodException.
7 8 9 10 11 12 |
# File 'lib/message_quickly/api/graph_method_exception.rb', line 7 def initialize(params = {}) @message = params['message'] @code = params['code'] @fbtrace_id = params['fbtrace_id'] super() end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
5 6 7 |
# File 'lib/message_quickly/api/graph_method_exception.rb', line 5 def code @code end |
#fbtrace_id ⇒ Object (readonly)
Returns the value of attribute fbtrace_id.
5 6 7 |
# File 'lib/message_quickly/api/graph_method_exception.rb', line 5 def fbtrace_id @fbtrace_id end |
Instance Method Details
#message ⇒ Object
14 15 16 |
# File 'lib/message_quickly/api/graph_method_exception.rb', line 14 def @message end |