Sha256: 2f7c2f2c7a46b1aad6bf8d06b3d8a393ce92b884d229e9f9b2a06d3f5aac7746

Contents?: true

Size: 584 Bytes

Versions: 3

Compression:

Stored size: 584 Bytes

Contents

# frozen_string_literal: true
require 'norad_beacon/version'
require 'norad_beacon/runner'
require 'norad_beacon/multi_runner'
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

3 entries across 3 versions & 1 rubygems

Version Path
norad_beacon-0.1.3 lib/norad_beacon.rb
norad_beacon-0.1.2 lib/norad_beacon.rb
norad_beacon-0.1.1 lib/norad_beacon.rb