Class: SDM::SnapshotGroups
- Inherits:
-
Object
- Object
- SDM::SnapshotGroups
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/svc.rb
Overview
SnapshotGroups exposes the read only methods of the Groups service for historical queries.
Instance Method Summary collapse
-
#get(id, deadline: nil) ⇒ Object
Get reads one Group by ID.
-
#initialize(groups) ⇒ SnapshotGroups
constructor
A new instance of SnapshotGroups.
-
#list(filter, *args, deadline: nil) ⇒ Object
List gets a list of Groups matching a given set of criteria.
Constructor Details
#initialize(groups) ⇒ SnapshotGroups
Returns a new instance of SnapshotGroups.
3223 3224 3225 |
# File 'lib/svc.rb', line 3223 def initialize(groups) @groups = groups end |
Instance Method Details
#get(id, deadline: nil) ⇒ Object
Get reads one Group by ID.
3228 3229 3230 3231 3232 3233 3234 3235 3236 |
# File 'lib/svc.rb', line 3228 def get( id, deadline: nil ) return @groups.get( id, deadline: deadline, ) end |
#list(filter, *args, deadline: nil) ⇒ Object
List gets a list of Groups matching a given set of criteria.
3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 |
# File 'lib/svc.rb', line 3239 def list( filter, *args, deadline: nil ) return @groups.list( filter, *args, deadline: deadline, ) end |