Sha256: 8c87eedd17bad793a5b4fde98387e88c7681bcea2833126166a53fd27e771887

Contents?: true

Size: 251 Bytes

Versions: 3

Compression:

Stored size: 251 Bytes

Contents

module Nova
  module API
    class Configuration
      attr_accessor :api_key, :subdomain, :use_staging
      attr_reader :host
      attr_reader :scheme

      def use_staging?
        [true, 'true'].include?(use_staging)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nova-api-1.4.1 lib/nova/configuration.rb
nova-api-1.4.0 lib/nova/configuration.rb
nova-api-1.3.0 lib/nova/configuration.rb