Class: SDM::SnapshotAccountResources
- Inherits:
-
Object
- Object
- SDM::SnapshotAccountResources
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/svc.rb
Overview
SnapshotAccountResources exposes the read only methods of the AccountResources service for historical queries.
Instance Method Summary collapse
-
#initialize(account_resources) ⇒ SnapshotAccountResources
constructor
A new instance of SnapshotAccountResources.
-
#list(filter, *args, deadline: nil) ⇒ Object
List gets a list of AccountResource records matching a given set of criteria.
Constructor Details
#initialize(account_resources) ⇒ SnapshotAccountResources
Returns a new instance of SnapshotAccountResources.
829 830 831 |
# File 'lib/svc.rb', line 829 def initialize(account_resources) @account_resources = account_resources end |
Instance Method Details
#list(filter, *args, deadline: nil) ⇒ Object
List gets a list of AccountResource records matching a given set of criteria.
834 835 836 837 838 839 840 841 842 843 844 |
# File 'lib/svc.rb', line 834 def list( filter, *args, deadline: nil ) return @account_resources.list( filter, *args, deadline: deadline, ) end |