Sha256: c0f920715a56c4e4f3611955a4db4c087b336396d27d367da1a346a83f5f3d89

Contents?: true

Size: 467 Bytes

Versions: 37

Compression:

Stored size: 467 Bytes

Contents

module Catalogcat
  class Client < Footrest::Client
    module Catalogs
      def list_catalogs(params = {})
        get('/api/v1/catalogs', params)
      end

      def applicants(params = {})
        get('/api/v1/applicants', params)
      end

      def completed_certificates(params = {})
        get('/api/v1/completed_certificates', params)
      end

      def get_order(id, params = {})
        get("/api/v1/orders/#{id}", params)
      end
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
bearcat-1.5.13 lib/catalogcat/client/catalogs.rb
bearcat-1.5.12 lib/catalogcat/client/catalogs.rb
bearcat-1.5.11 lib/catalogcat/client/catalogs.rb
bearcat-1.5.10 lib/catalogcat/client/catalogs.rb
bearcat-1.5.9 lib/catalogcat/client/catalogs.rb
bearcat-1.5.8 lib/catalogcat/client/catalogs.rb
bearcat-1.5.7 lib/catalogcat/client/catalogs.rb
bearcat-1.5.6 lib/catalogcat/client/catalogs.rb
bearcat-1.5.5 lib/catalogcat/client/catalogs.rb
bearcat-1.5.4 lib/catalogcat/client/catalogs.rb
bearcat-1.5.3 lib/catalogcat/client/catalogs.rb
bearcat-1.5.2 lib/catalogcat/client/catalogs.rb
bearcat-1.5.0 lib/catalogcat/client/catalogs.rb
bearcat-1.5.0.beta4 lib/catalogcat/client/catalogs.rb
bearcat-1.5.0.beta3 lib/catalogcat/client/catalogs.rb
bearcat-1.5.0.beta2 lib/catalogcat/client/catalogs.rb
bearcat-1.5.0.beta1 lib/catalogcat/client/catalogs.rb