Sha256: 72070ddd735aea5a8668a67f04460adc97ddc0e8863a2d256a055535cbb6eaad

Contents?: true

Size: 700 Bytes

Versions: 1

Compression:

Stored size: 700 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

    # 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

1 entries across 1 versions & 1 rubygems

Version Path
datadog_backup-2.0.2 lib/datadog_backup/options.rb