Sha256: 2cf0e6844b5715f9a293f8b285201fbf10e08b95befdb6184bc4b34f6908ff8b
Contents?: true
Size: 403 Bytes
Versions: 7
Compression:
Stored size: 403 Bytes
Contents
module Bamboozled module API class Report < Base def find(number, format = 'JSON', fd = true) request(:get, "reports/#{number}?format=#{format.upcase}&fd=#{fd.yesno}") end # TODO - Implement custom reports # def custom(options, format = 'JSON') # request(:post, "reports/custom?format=#{format.upcase}", data_should_go_here) # end end end end
Version data entries
7 entries across 7 versions & 1 rubygems