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.



2527
2528
2529
# File 'lib/svc.rb', line 2527

def initialize(remote_identities)
  @remote_identities = remote_identities
end

Instance Method Details

#get(id, deadline: nil) ⇒ Object

Get reads one RemoteIdentity by ID.



2532
2533
2534
2535
2536
2537
2538
2539
2540
# File 'lib/svc.rb', line 2532

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.



2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
# File 'lib/svc.rb', line 2543

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