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.



181
182
183
# File 'lib/svc.rb', line 181

def initialize()
  @account_attachments = 
end

Instance Method Details

#get(id, deadline: nil) ⇒ Object

Get reads one AccountAttachment by ID.



186
187
188
189
190
191
192
193
194
# File 'lib/svc.rb', line 186

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.



197
198
199
200
201
202
203
204
205
206
207
# File 'lib/svc.rb', line 197

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