Class: SDM::SnapshotAccountsGroups
- Inherits:
-
Object
- Object
- SDM::SnapshotAccountsGroups
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/svc.rb
Overview
SnapshotAccountsGroups exposes the read only methods of the AccountsGroups service for historical queries.
Instance Method Summary collapse
-
#get(id, deadline: nil) ⇒ Object
Get reads one AccountGroup by ID.
-
#initialize(accounts_groups) ⇒ SnapshotAccountsGroups
constructor
A new instance of SnapshotAccountsGroups.
-
#list(filter, *args, deadline: nil) ⇒ Object
List gets a list of AccountGroups matching a given set of criteria.
Constructor Details
#initialize(accounts_groups) ⇒ SnapshotAccountsGroups
Returns a new instance of SnapshotAccountsGroups.
1276 1277 1278 |
# File 'lib/svc.rb', line 1276 def initialize(accounts_groups) @accounts_groups = accounts_groups end |
Instance Method Details
#get(id, deadline: nil) ⇒ Object
Get reads one AccountGroup by ID.
1281 1282 1283 1284 1285 1286 1287 1288 1289 |
# File 'lib/svc.rb', line 1281 def get( id, deadline: nil ) return @accounts_groups.get( id, deadline: deadline, ) end |
#list(filter, *args, deadline: nil) ⇒ Object
List gets a list of AccountGroups matching a given set of criteria.
1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 |
# File 'lib/svc.rb', line 1292 def list( filter, *args, deadline: nil ) return @accounts_groups.list( filter, *args, deadline: deadline, ) end |