Sha256: 33079b9bb33afeab2672bec769b56cc6afdea064492d23b9f069debec3a08551

Contents?: true

Size: 381 Bytes

Versions: 2

Compression:

Stored size: 381 Bytes

Contents

# frozen_string_literal: true

module Rancher
  module Api
    class Configuration
      attr_accessor :url
      attr_accessor :access_key
      attr_accessor :secret_key
      attr_accessor :verbose

      def initialize
        @url = ENV['RANCHER_URL']
        @access_key = ENV['RANCHER_ACCESS_KEY']
        @secret_key = ENV['RANCHER_SECRET_KEY']
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rancher-api-beta-0.8.1 lib/rancher/api/configuration.rb
rancher-api-beta-0.8.0.pre.beta lib/rancher/api/configuration.rb