Class: SDM::SnapshotGrantedAccountEntitlements
- Inherits:
-
Object
- Object
- SDM::SnapshotGrantedAccountEntitlements
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/svc.rb
Overview
SnapshotGrantedAccountEntitlements exposes the read only methods of the GrantedAccountEntitlements service for historical queries.
Instance Method Summary collapse
-
#initialize(granted_account_entitlements) ⇒ SnapshotGrantedAccountEntitlements
constructor
A new instance of SnapshotGrantedAccountEntitlements.
-
#list(account_id, filter, *args, deadline: nil) ⇒ Object
List gets a list of GrantedAccountEntitlement records matching a given set of criteria.
Constructor Details
#initialize(granted_account_entitlements) ⇒ SnapshotGrantedAccountEntitlements
Returns a new instance of SnapshotGrantedAccountEntitlements.
2816 2817 2818 |
# File 'lib/svc.rb', line 2816 def initialize(granted_account_entitlements) @granted_account_entitlements = granted_account_entitlements end |
Instance Method Details
#list(account_id, filter, *args, deadline: nil) ⇒ Object
List gets a list of GrantedAccountEntitlement records matching a given set of criteria.
2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 |
# File 'lib/svc.rb', line 2821 def list( account_id, filter, *args, deadline: nil ) return @granted_account_entitlements.list( account_id, filter, *args, deadline: deadline, ) end |