Sha256: 49aa24fa189e68fc4779b1df3d5c2e47462bc64ecf3ffa0f0796a3d717aae43d

Contents?: true

Size: 639 Bytes

Versions: 5

Compression:

Stored size: 639 Bytes

Contents

# frozen_string_literal: true

module DatadogBackup
  # Describes what the user wants to see done.
  module Options
    def action
      @options[:action]
    end

    def backup_dir
      @options[:backup_dir]
    end

    def concurrency_limit
      @options[:concurrency_limit] | 2
    end

    def diff_format
      @options[:diff_format]
    end

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

    def resources
      @options[:resources]
    end

    def force_restore
      @options[:force_restore]
    end

    def disable_array_sort
      @options[:disable_array_sort]
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
datadog_backup-4.0.1 lib/datadog_backup/options.rb
datadog_backup-4.0.0 lib/datadog_backup/options.rb
datadog_backup-3.3.0 lib/datadog_backup/options.rb
datadog_backup-3.2.1 lib/datadog_backup/options.rb
datadog_backup-3.2.0 lib/datadog_backup/options.rb