Sha256: cbce4a821036cbc71f9d064396a682256460fac8d752b03a4b931bbc43e894f2

Contents?: true

Size: 275 Bytes

Versions: 2

Compression:

Stored size: 275 Bytes

Contents

module Superfaktura
  class Configuration
    attr_accessor :email, :token, :sandbox

    def initialize
      @email = ENV['SUPERFAKTURA_EMAIL']
      @token = ENV['SUPERFAKTURA_TOKEN']
      @sandbox = ENV['SUPERFAKTURA_SANDBOX'] == 'true' ? true : false
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
superfaktura-1 lib/superfaktura/configuration.rb
superfaktura-0.9.6 lib/superfaktura/configuration.rb