class Bunq::Configuration

Configuration object for connecting to the bunq api

Constants

DEFAULT_GEOLOCATION
DEFAULT_LANGUAGE
DEFAULT_REGION
DEFAULT_SESSION_CACHE
DEFAULT_TIMEOUT
DEFAULT_USER_AGENT
PRODUCTION_BASE_URL
SANDBOX_BASE_URL

Attributes

api_key[RW]

Base url for the bunq api. Defaults to PRODUCTION_BASE_URL

base_url[RW]

Base url for the bunq api. Defaults to PRODUCTION_BASE_URL

disable_response_signature_verification[RW]

Base url for the bunq api. Defaults to PRODUCTION_BASE_URL

geolocation[RW]

Base url for the bunq api. Defaults to PRODUCTION_BASE_URL

installation_token[RW]

Base url for the bunq api. Defaults to PRODUCTION_BASE_URL

language[RW]

Base url for the bunq api. Defaults to PRODUCTION_BASE_URL

private_key[RW]

Base url for the bunq api. Defaults to PRODUCTION_BASE_URL

region[RW]

Base url for the bunq api. Defaults to PRODUCTION_BASE_URL

sandbox[RW]

Base url for the bunq api. Defaults to PRODUCTION_BASE_URL

sandbox_password[RW]

Base url for the bunq api. Defaults to PRODUCTION_BASE_URL

sandbox_user[RW]

Base url for the bunq api. Defaults to PRODUCTION_BASE_URL

server_public_key[RW]

Base url for the bunq api. Defaults to PRODUCTION_BASE_URL

session_cache[RW]

Base url for the bunq api. Defaults to PRODUCTION_BASE_URL

timeout[RW]

Base url for the bunq api. Defaults to PRODUCTION_BASE_URL

user_agent[RW]

Base url for the bunq api. Defaults to PRODUCTION_BASE_URL

Public Class Methods

new() click to toggle source
# File lib/bunq/client.rb, line 158
def initialize
  @sandbox = false
  @base_url = PRODUCTION_BASE_URL
  @language = DEFAULT_LANGUAGE
  @region = DEFAULT_REGION
  @geolocation = DEFAULT_GEOLOCATION
  @user_agent = DEFAULT_USER_AGENT
  @disable_response_signature_verification = false
  @timeout = DEFAULT_TIMEOUT
  @session_cache = DEFAULT_SESSION_CACHE
end