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.
3186 3187 3188 |
# File 'lib/svc.rb', line 3186 def initialize(groups) @groups = groups end |
Instance Method Details
#get(id, deadline: nil) ⇒ Object
Get reads one Group by ID.
3191 3192 3193 3194 3195 3196 3197 3198 3199 |
# File 'lib/svc.rb', line 3191 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.
3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 |
# File 'lib/svc.rb', line 3202 def list( filter, *args, deadline: nil ) return @groups.list( filter, *args, deadline: deadline, ) end |