Sha256: d85478e0ffec4b80acb7613e3383df89db84e8bc0cf45423a2416b4228fd0026

Contents?: true

Size: 426 Bytes

Versions: 8

Compression:

Stored size: 426 Bytes

Contents

module Bearcat
  class Client < Footrest::Client
    module GroupCategories

      def list_group_categories(context, id)
        get("/api/v1/#{context}/#{id}/group_categories")
      end

      def group_category(id)
        get("/api/v1/group_categories/#{id}")
      end

      def create_group_category(context, id, params={})
        post("/api/v1/#{context}/#{id}/group_categories", params)
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
bearcat-1.2.17 lib/bearcat/client/group_categories.rb
bearcat-1.2.16 lib/bearcat/client/group_categories.rb
bearcat-1.2.15 lib/bearcat/client/group_categories.rb
bearcat-1.2.14 lib/bearcat/client/group_categories.rb
bearcat-1.2.13 lib/bearcat/client/group_categories.rb
bearcat-1.2.12 lib/bearcat/client/group_categories.rb
bearcat-1.2.11 lib/bearcat/client/group_categories.rb
bearcat-1.2.10 lib/bearcat/client/group_categories.rb