Method: SDM::SnapshotClient#initialize
- Defined in:
- lib/strongdm.rb
#initialize(client) ⇒ SnapshotClient
Returns a new instance of SnapshotClient.
439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'lib/strongdm.rb', line 439 def initialize(client) @access_requests = SnapshotAccessRequests.new(client.access_requests) = SnapshotAccountAttachments.new(client.) @account_grants = SnapshotAccountGrants.new(client.account_grants) = SnapshotAccountPermissions.new(client.) @account_resources = SnapshotAccountResources.new(client.account_resources) @accounts = SnapshotAccounts.new(client.accounts) @nodes = SnapshotNodes.new(client.nodes) @peering_group_nodes = SnapshotPeeringGroupNodes.new(client.peering_group_nodes) @peering_group_peers = SnapshotPeeringGroupPeers.new(client.peering_group_peers) @peering_group_resources = SnapshotPeeringGroupResources.new(client.peering_group_resources) @peering_groups = SnapshotPeeringGroups.new(client.peering_groups) @remote_identities = SnapshotRemoteIdentities.new(client.remote_identities) @remote_identity_groups = SnapshotRemoteIdentityGroups.new(client.remote_identity_groups) @resources = SnapshotResources.new(client.resources) @role_resources = SnapshotRoleResources.new(client.role_resources) @roles = SnapshotRoles.new(client.roles) @secret_stores = SnapshotSecretStores.new(client.secret_stores) @workflow_approvers = SnapshotWorkflowApprovers.new(client.workflow_approvers) @workflow_assignments = SnapshotWorkflowAssignments.new(client.workflow_assignments) @workflow_roles = SnapshotWorkflowRoles.new(client.workflow_roles) @workflows = SnapshotWorkflows.new(client.workflows) end |