Sha256: e86d40fdd3bf6d409c0c96050af9afaf04e0130443338729ee781d73732d36f9
Contents?: true
Size: 611 Bytes
Versions: 53
Compression:
Stored size: 611 Bytes
Contents
module Bearcat class Client < Footrest::Client module GroupMemberships def group_membership(group, group_membership) get("/api/v1/groups/#{group}/memberships/#{group_membership}") end def list_group_memberships(group) get("/api/v1/groups/#{group.to_s}/memberships") end def create_group_membership(group_id, params={}) post("/api/v1/groups/#{group_id}/memberships", params) end def delete_group_membership(group_id, context, context_id) delete("/api/v1/groups/#{group_id}/#{context}/#{context_id}") end end end end
Version data entries
53 entries across 53 versions & 1 rubygems