Sha256: 5eef2ef4441d88e223ac6432f523e48b341598ebfd15fe735f80bbb6a53ee8a0

Contents?: true

Size: 567 Bytes

Versions: 2

Compression:

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
datadog_backup-3.1.1 lib/datadog_backup/options.rb
datadog_backup-3.1.0 lib/datadog_backup/options.rb