Sha256: 1afc45ed94a5ee29bf02f0b72f8611ce9c54f9174f6abe4fef888bb52b016784

Contents?: true

Size: 404 Bytes

Versions: 37

Compression:

Stored size: 404 Bytes

Contents

module Bearcat
  class Client < Footrest::Client
    module GroupMemberships
      extend ClientModule

      prefix "/api/v1/groups/:group/" do
        get :group_membership, "memberships/:group_membership"
        get :list_group_memberships, "memberships"
        post :create_group_membership, "memberships"
        delete :delete_group_membership, ":context/:context_id"
      end
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
bearcat-1.5.37 lib/bearcat/client/group_memberships.rb
bearcat-1.5.36 lib/bearcat/client/group_memberships.rb
bearcat-1.5.35 lib/bearcat/client/group_memberships.rb
bearcat-1.5.34 lib/bearcat/client/group_memberships.rb
bearcat-1.5.33 lib/bearcat/client/group_memberships.rb
bearcat-1.5.32 lib/bearcat/client/group_memberships.rb
bearcat-1.5.31 lib/bearcat/client/group_memberships.rb
bearcat-1.5.30 lib/bearcat/client/group_memberships.rb
bearcat-1.5.29 lib/bearcat/client/group_memberships.rb
bearcat-1.5.28 lib/bearcat/client/group_memberships.rb
bearcat-1.5.28.beta1 lib/bearcat/client/group_memberships.rb
bearcat-1.5.26 lib/bearcat/client/group_memberships.rb
bearcat-1.5.24 lib/bearcat/client/group_memberships.rb
bearcat-1.5.23 lib/bearcat/client/group_memberships.rb
bearcat-1.5.20 lib/bearcat/client/group_memberships.rb
bearcat-1.5.19 lib/bearcat/client/group_memberships.rb
bearcat-1.5.17 lib/bearcat/client/group_memberships.rb
bearcat-1.5.16 lib/bearcat/client/group_memberships.rb
bearcat-1.5.15 lib/bearcat/client/group_memberships.rb
bearcat-1.5.14 lib/bearcat/client/group_memberships.rb