Class: AwsXRegionSync

Inherits:
Object
  • Object
show all
Defined in:
lib/aws_xregion_sync.rb,
lib/aws_xregion_sync/errors.rb,
lib/aws_xregion_sync/version.rb,
lib/aws_xregion_sync/aws_sync.rb,
lib/aws_xregion_sync/configure.rb,
lib/aws_xregion_sync/sync_result.rb,
lib/aws_xregion_sync/ec2_ami_sync.rb,
lib/aws_xregion_sync/rds_automated_snapshot_sync.rb

Defined Under Namespace

Classes: AwsSync, AwsXRegionSyncConfigError, AwsXRegionSyncError, Configure, Ec2AmiSync, RdsAutomatedSnapshotSync, SyncResult

Class Method Summary collapse

Class Method Details

.run(config_file_path_or_hash) ⇒ Object



7
8
9
# File 'lib/aws_xregion_sync.rb', line 7

def self.run config_file_path_or_hash
  do_syncs config_file_path_or_hash, :sync
end

.sync_required?(config_file_path_or_hash) ⇒ Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/aws_xregion_sync.rb', line 11

def self.sync_required? config_file_path_or_hash
  do_syncs config_file_path_or_hash, :sync_required?
end