Sha256: b177c0814d25f7d08cff99b823d234d0c45bfdaa20b671e3d33bf40ec0d8159b

Contents?: true

Size: 621 Bytes

Versions: 4

Compression:

Stored size: 621 Bytes

Contents

# frozen_string_literal: true

require 'norad_beacon/version'
require 'norad_beacon/runner'
require 'norad_beacon/multi_runner'
require 'norad_beacon/http_payload'
require 'norad_beacon/result'
require 'norad_beacon/resultset'
require 'norad_beacon/exceptions'
require 'norad_beacon/container_options'
require 'norad_beacon/api'

module NoradBeacon
  # Retrieves encrypted credentials stored
  # locally on the docker container.
  # @return [Hash]
  def self.container_options
    ContainerOptions.new.values
  rescue NoradBeaconError => e
    puts "Unable to load local container options: #{e.message}"
    {}
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
norad_beacon-0.1.7 lib/norad_beacon.rb
norad_beacon-0.1.6 lib/norad_beacon.rb
norad_beacon-0.1.5 lib/norad_beacon.rb
norad_beacon-0.1.4 lib/norad_beacon.rb