Sha256: 8a894cf8e82ac7222faa61a1808512a6d7bb66a5d88c0db9d59298c338c3aeca

Contents?: true

Size: 587 Bytes

Versions: 128

Compression:

Stored size: 587 Bytes

Contents

module Bearcat
  class Client
    module AccountReports

      def available_reports(account, params={})
        get("/api/v1/accounts/#{account}/reports", params)
      end

      def start_report(account, report, params)
        post("api/v1/accounts/#{account}/reports/#{report}", params)
      end

      def report_index(account, report, params={})
        get("/api/v1/accounts/#{account}/reports/#{report}", params)
      end

      def report_status(account, report, report_id)
        get("/api/v1/accounts/#{account}/reports/#{report}/#{report_id}")
      end
    end
  end
end

Version data entries

128 entries across 128 versions & 1 rubygems

Version Path
bearcat-1.3.4 lib/bearcat/client/account_reports.rb
bearcat-1.3.3 lib/bearcat/client/account_reports.rb
bearcat-1.3.2 lib/bearcat/client/account_reports.rb
bearcat-1.3.1 lib/bearcat/client/account_reports.rb
bearcat-1.2.18 lib/bearcat/client/account_reports.rb
bearcat-1.2.17 lib/bearcat/client/account_reports.rb
bearcat-1.2.16 lib/bearcat/client/account_reports.rb
bearcat-1.2.15 lib/bearcat/client/account_reports.rb
bearcat-1.2.14 lib/bearcat/client/account_reports.rb
bearcat-1.2.13 lib/bearcat/client/account_reports.rb
bearcat-1.2.12 lib/bearcat/client/account_reports.rb
bearcat-1.2.11 lib/bearcat/client/account_reports.rb
bearcat-1.2.10 lib/bearcat/client/account_reports.rb
bearcat-1.2.9 lib/bearcat/client/account_reports.rb
bearcat-1.2.7 lib/bearcat/client/account_reports.rb
bearcat-1.2.6 lib/bearcat/client/account_reports.rb
bearcat-1.2.5 lib/bearcat/client/account_reports.rb
bearcat-1.2.4 lib/bearcat/client/account_reports.rb
bearcat-1.2.3 lib/bearcat/client/account_reports.rb
bearcat-1.2.1 lib/bearcat/client/account_reports.rb