class Bigbank::Client::Config

Attributes

adapter[RW]
enable_proxy[RW]
endpoint[RW]
open_timeout[RW]
partner_key[RW]
proxy[RW]
timeout[RW]
verify_ssl[RW]

Public Class Methods

new() click to toggle source
# File lib/bigbank/client/config.rb, line 13
def initialize
  @endpoint = "https://ansok.bigbank.se/"
  @open_timeout = 5
  @timeout = 15
  @adapter = Faraday.default_adapter
  @verify_ssl = true
  @enable_proxy = false
  @proxy = ""
end

Public Instance Methods

enable_proxy?() click to toggle source
# File lib/bigbank/client/config.rb, line 23
def enable_proxy?
  !!enable_proxy
end