Sha256: 0376e6a76874f5b98daffda953f67e1428802a8cafaa70c2c1ad78af30b2e88f

Contents?: true

Size: 536 Bytes

Versions: 8

Compression:

Stored size: 536 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 edit_group_category(id, params={})
        put("/api/v1/group_categories/#{id}", params)
      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.3.7 lib/bearcat/client/group_categories.rb
bearcat-1.3.6 lib/bearcat/client/group_categories.rb
bearcat-1.3.5 lib/bearcat/client/group_categories.rb
bearcat-1.3.4 lib/bearcat/client/group_categories.rb
bearcat-1.3.3 lib/bearcat/client/group_categories.rb
bearcat-1.3.2 lib/bearcat/client/group_categories.rb
bearcat-1.3.1 lib/bearcat/client/group_categories.rb
bearcat-1.2.18 lib/bearcat/client/group_categories.rb