Class: Bamboozled::API::Report
- Defined in:
- lib/bamboozled/api/report.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Bamboozled::API::Base
Instance Method Details
#find(number, format = 'JSON', fd = true) ⇒ Object
5 6 7 |
# File 'lib/bamboozled/api/report.rb', line 5 def find(number, format = 'JSON', fd = true) request(:get, "reports/#{number}?format=#{format.upcase}&fd=#{fd.yesno}") end |