Sha256: bb7f62e566b633d83df36533e3b5fbd3c28d3183f3a87db49d683c23f40af8ff

Contents?: true

Size: 479 Bytes

Versions: 8

Compression:

Stored size: 479 Bytes

Contents

module Bearcat
  class Client < Footrest::Client
    module Accounts

      def list_accounts(params = {})
        get("/api/v1/accounts", params)
      end

      def account(account)
        get("/api/v1/accounts/#{account}")
      end

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

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

    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
bearcat-1.0.21 lib/bearcat/client/accounts.rb
bearcat-1.0.20 lib/bearcat/client/accounts.rb
bearcat-1.0.19 lib/bearcat/client/accounts.rb
bearcat-1.0.18 lib/bearcat/client/accounts.rb
bearcat-1.0.17 lib/bearcat/client/accounts.rb
bearcat-1.0.16 lib/bearcat/client/accounts.rb
bearcat-1.0.15 lib/bearcat/client/accounts.rb
bearcat-1.0.14 lib/bearcat/client/accounts.rb