Sha256: 2554d08d0146f264e1b70db84867e25494af8ae4278d423560a9afa0af9af887

Contents?: true

Size: 748 Bytes

Versions: 17

Compression:

Stored size: 748 Bytes

Contents

# frozen_string_literal: true

module DatadogBackup
  module Options
    def action
      @options[:action]
    end

    def backup_dir
      @options[:backup_dir]
    end

    def client
      @options[:client]
    end

    def concurrency_limit
      @options[:concurrency_limit] | 2
    end

    def datadog_api_key
      @options[:datadog_api_key]
    end

    def datadog_app_key
      @options[:datadog_app_key]
    end

    def diff_format
      @options[:diff_format]
    end

    def logger
      @options[:logger]
    end

    # Either :json or :yaml
    def output_format
      @options[:output_format]
    end

    def resources
      @options[:resources]
    end

    def force_restore
      @options[:force_restore]
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
datadog_backup-2.0.1 lib/datadog_backup/options.rb
datadog_backup-2.0.0 lib/datadog_backup/options.rb
datadog_backup-1.1.4 lib/datadog_backup/options.rb
datadog_backup-1.1.3 lib/datadog_backup/options.rb
datadog_backup-1.1.2 lib/datadog_backup/options.rb
datadog_backup-1.1.1 lib/datadog_backup/options.rb
datadog_backup-1.1.0 lib/datadog_backup/options.rb
datadog_backup-1.0.5 lib/datadog_backup/options.rb
datadog_backup-1.0.4 lib/datadog_backup/options.rb
datadog_backup-1.0.3 lib/datadog_backup/options.rb
datadog_backup-1.0.2 lib/datadog_backup/options.rb
datadog_backup-1.0.1 lib/datadog_backup/options.rb
datadog_backup-1.0.1.alpha.1 lib/datadog_backup/options.rb
datadog_backup-1.0.0 lib/datadog_backup/options.rb
datadog_backup-1.0.0.alpha.2 lib/datadog_backup/options.rb
datadog_backup-1.0.0.alpha.1 lib/datadog_backup/options.rb
datadog_backup-0.11.0 lib/datadog_backup/options.rb