Class: SDM::SnapshotPeeringGroups
- Inherits:
-
Object
- Object
- SDM::SnapshotPeeringGroups
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/svc.rb
Overview
SnapshotPeeringGroups exposes the read only methods of the PeeringGroups service for historical queries.
Instance Method Summary collapse
-
#get(id, deadline: nil) ⇒ Object
Get reads one PeeringGroup by ID.
-
#initialize(peering_groups) ⇒ SnapshotPeeringGroups
constructor
A new instance of SnapshotPeeringGroups.
-
#list(filter, *args, deadline: nil) ⇒ Object
List gets a list of Peering Groups.
Constructor Details
#initialize(peering_groups) ⇒ SnapshotPeeringGroups
Returns a new instance of SnapshotPeeringGroups.
2366 2367 2368 |
# File 'lib/svc.rb', line 2366 def initialize(peering_groups) @peering_groups = peering_groups end |
Instance Method Details
#get(id, deadline: nil) ⇒ Object
Get reads one PeeringGroup by ID. It will load all its dependencies.
2371 2372 2373 2374 2375 2376 2377 2378 2379 |
# File 'lib/svc.rb', line 2371 def get( id, deadline: nil ) return @peering_groups.get( id, deadline: deadline, ) end |
#list(filter, *args, deadline: nil) ⇒ Object
List gets a list of Peering Groups.
2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 |
# File 'lib/svc.rb', line 2382 def list( filter, *args, deadline: nil ) return @peering_groups.list( filter, *args, deadline: deadline, ) end |