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.



3269
3270
3271
# File 'lib/svc.rb', line 3269

def initialize(remote_identities)
  @remote_identities = remote_identities
end

Instance Method Details

#get(id, deadline: nil) ⇒ Object

Get reads one RemoteIdentity by ID.



3274
3275
3276
3277
3278
3279
3280
3281
3282
# File 'lib/svc.rb', line 3274

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.



3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
# File 'lib/svc.rb', line 3285

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