Sha256: f69f8619135f5022812c373e43c1391450eeb42cdcbc0ef9ba3981b012850885

Contents?: true

Size: 281 Bytes

Versions: 9

Compression:

Stored size: 281 Bytes

Contents

module KontoAPI

  module Config

    class << self

      def api_key=(new_key)
        KontoAPI::api_key = new_key
      end

      def timeout=(new_timeout)
        KontoAPI::timeout = new_timeout
      end

    end

  end

  def self.setup
    yield KontoAPI::Config
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
kontoapi-rails-0.2.5 lib/kontoapi-rails/config.rb
kontoapi-rails-0.2.4 lib/kontoapi-rails/config.rb
kontoapi-rails-0.2.3 lib/kontoapi-rails/config.rb
kontoapi-rails-0.2.2 lib/kontoapi-rails/config.rb
kontoapi-rails-0.2.1 lib/kontoapi-rails/config.rb
kontoapi-rails-0.2.0 lib/kontoapi-rails/config.rb
kontoapi-rails-0.0.3 lib/kontoapi-rails/config.rb
kontoapi-rails-0.0.2 lib/kontoapi-rails/config.rb
kontoapi-rails-0.0.1 lib/kontoapi-rails/config.rb