Class: SDM::SnapshotRemoteIdentities

Inherits:
Object
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/svc.rb

Overview

SnapshotRemoteIdentities exposes the read only methods of the RemoteIdentities service for historical queries.

Instance Method Summary collapse

Constructor Details

#initialize(remote_identities) ⇒ SnapshotRemoteIdentities

Returns a new instance of SnapshotRemoteIdentities.



4312
4313
4314
# File 'lib/svc.rb', line 4312

def initialize(remote_identities)
  @remote_identities = remote_identities
end

Instance Method Details

#get(id, deadline: nil) ⇒ Object

Get reads one RemoteIdentity by ID.



4317
4318
4319
4320
4321
4322
4323
4324
4325
# File 'lib/svc.rb', line 4317

def get(
  id,
  deadline: nil
)
  return @remote_identities.get(
           id,
           deadline: deadline,
         )
end

#list(filter, *args, deadline: nil) ⇒ Object

List gets a list of RemoteIdentities matching a given set of criteria.



4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
# File 'lib/svc.rb', line 4328

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