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.



22
23
24
# File 'lib/fb_graph.rb', line 22

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