Exception: FbGraph::BadRequest

Inherits:
Exception
  • Object
show all
Defined in:
lib/fb_graph.rb

Instance Attribute Summary

Attributes inherited from Exception

#code, #message, #type

Instance Method Summary collapse

Constructor Details

#initialize(message, body = '') ⇒ BadRequest

Returns a new instance of BadRequest.



25
26
27
# File 'lib/fb_graph.rb', line 25

def initialize(message, body = '')
  super 400, message, body
end