Sha256: d2a29cdda256a1d8ae85b4f8e875ae4ebfc07cfe57a9cca6e5133b361419662e

Contents?: true

Size: 686 Bytes

Versions: 7

Compression:

Stored size: 686 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
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
datadog_backup-0.10.3 lib/datadog_backup/options.rb
datadog_backup-0.11.0.alpha.1 lib/datadog_backup/options.rb
datadog_backup-0.10.2 lib/datadog_backup/options.rb
datadog_backup-0.10.1 lib/datadog_backup/options.rb
datadog_backup-0.10.1.alpha.1 lib/datadog_backup/options.rb
datadog_backup-0.10.0 lib/datadog_backup/options.rb
datadog_backup-0.9.0 lib/datadog_backup/options.rb