Class: SDM::SnapshotAccountAttachments
- Inherits:
-
Object
- Object
- SDM::SnapshotAccountAttachments
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/svc.rb
Overview
SnapshotAccountAttachments exposes the read only methods of the AccountAttachments service for historical queries.
Instance Method Summary collapse
-
#get(id, deadline: nil) ⇒ Object
Get reads one AccountAttachment by ID.
-
#initialize(account_attachments) ⇒ SnapshotAccountAttachments
constructor
A new instance of SnapshotAccountAttachments.
-
#list(filter, *args, deadline: nil) ⇒ Object
List gets a list of AccountAttachments matching a given set of criteria.
Constructor Details
#initialize(account_attachments) ⇒ SnapshotAccountAttachments
Returns a new instance of SnapshotAccountAttachments.
372 373 374 |
# File 'lib/svc.rb', line 372 def initialize() @account_attachments = end |
Instance Method Details
#get(id, deadline: nil) ⇒ Object
Get reads one AccountAttachment by ID.
377 378 379 380 381 382 383 384 385 |
# File 'lib/svc.rb', line 377 def get( id, deadline: nil ) return @account_attachments.get( id, deadline: deadline, ) end |
#list(filter, *args, deadline: nil) ⇒ Object
List gets a list of AccountAttachments matching a given set of criteria.
388 389 390 391 392 393 394 395 396 397 398 |
# File 'lib/svc.rb', line 388 def list( filter, *args, deadline: nil ) return @account_attachments.list( filter, *args, deadline: deadline, ) end |