Sha256: d96cfad900bc57429fa54441d6e73cbd9468beae89358a25487ec0dde7cf0de0
Contents?: true
Size: 476 Bytes
Versions: 19
Compression:
Stored size: 476 Bytes
Contents
module Bearcat class Client < Footrest::Client module GroupMemberships 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
19 entries across 19 versions & 1 rubygems