Sha256: f78fc7890102a32f6e86843e9968d55b056c49e896e7f55da9b7835caf39f408

Contents?: true

Size: 702 Bytes

Versions: 5

Compression:

Stored size: 702 Bytes

Contents

require "cgi_party/authenticate_request"
require "cgi_party/collect_request"
require "cgi_party/wsdl_paths"
require "cgi_party/version"
require "cgi_party/client"

module CGIParty
  class << self
    attr_accessor :config
  end

  def self.configure
    self.config ||= Configuration.new
    yield(config)
  end

  class Configuration
    attr_accessor :collect_polling_timeout
    attr_accessor :collect_polling_delay
    attr_accessor :display_name
    attr_accessor :service_id
    attr_accessor :wsdl_path
    attr_reader   :provider

    def initialize
      @collect_polling_timeout = 180
      @collect_polling_delay = 3
      @wsdl_path = WSDL_PATH
      @provider = "bankid"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cgi_party-2.0.1 lib/cgi_party.rb
cgi_party-2.0.0 lib/cgi_party.rb
cgi_party-1.0.0 lib/cgi_party.rb
cgi_party-0.1.1 lib/cgi_party.rb
cgi_party-0.1.0 lib/cgi_party.rb