Class: SDM::SnapshotAccountAttachments

Inherits:
Object
  • Object
show all
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

Constructor Details

#initialize(account_attachments) ⇒ SnapshotAccountAttachments

Returns a new instance of SnapshotAccountAttachments.



368
369
370
# File 'lib/svc.rb', line 368

def initialize()
  @account_attachments = 
end

Instance Method Details

#get(id, deadline: nil) ⇒ Object

Get reads one AccountAttachment by ID.



373
374
375
376
377
378
379
380
381
# File 'lib/svc.rb', line 373

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.



384
385
386
387
388
389
390
391
392
393
394
# File 'lib/svc.rb', line 384

def list(
  filter,
  *args,
  deadline: nil
)
  return @account_attachments.list(
           filter,
                        *args,
                        deadline: deadline,
         )
end