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.



29
30
31
# File 'lib/fb_graph.rb', line 29

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