Sha256: 65f06731d3848daf1357b03ce449ac1a19eacab3c8ead4bebb5550703d8c62d8
Contents?: true
Size: 1.45 KB
Versions: 2
Compression:
Stored size: 1.45 KB
Contents
# frozen_string_literal: true module Seam module Clients class AcsAccessGroups < BaseClient def add_user(acs_access_group_id:, acs_user_id:) request_seam( :post, "/acs/access_groups/add_user", body: {acs_access_group_id: acs_access_group_id, acs_user_id: acs_user_id}.compact ) nil end def get(acs_access_group_id:) request_seam_object( :post, "/acs/access_groups/get", Seam::AcsAccessGroup, "acs_access_group", body: {acs_access_group_id: acs_access_group_id}.compact ) end def list(acs_system_id: nil, acs_user_id: nil) request_seam_object( :post, "/acs/access_groups/list", Seam::AcsAccessGroup, "acs_access_groups", body: {acs_system_id: acs_system_id, acs_user_id: acs_user_id}.compact ) end def list_users(acs_access_group_id:) request_seam_object( :post, "/acs/access_groups/list_users", Seam::AcsUser, "acs_users", body: {acs_access_group_id: acs_access_group_id}.compact ) end def remove_user(acs_access_group_id:, acs_user_id:) request_seam( :post, "/acs/access_groups/remove_user", body: {acs_access_group_id: acs_access_group_id, acs_user_id: acs_user_id}.compact ) nil end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
seam-2.0.0a2 | lib/seam/clients/acs_access_groups.rb |
seam-2.0.0.prerelease.1 | lib/seam/clients/acs_access_groups.rb |