Module: BunqRb

Defined in:
lib/bunq_rb.rb,
lib/bunq_rb/client.rb,
lib/bunq_rb/client.rb,
lib/bunq_rb/logger.rb,
lib/bunq_rb/version.rb,
lib/bunq_rb/objects/card.rb,
lib/bunq_rb/objects/user.rb,
lib/bunq_rb/configuration.rb,
lib/bunq_rb/objects/avatar.rb,
lib/bunq_rb/objects/device.rb,
lib/bunq_rb/objects/invoice.rb,
lib/bunq_rb/objects/payment.rb,
lib/bunq_rb/objects/card_name.rb,
lib/bunq_rb/objects/bunq_me_tab.rb,
lib/bunq_rb/objects/installation.rb,
lib/bunq_rb/objects/permitted_ip.rb,
lib/bunq_rb/objects/cash_register.rb,
lib/bunq_rb/objects/device_server.rb,
lib/bunq_rb/objects/session_server.rb,
lib/bunq_rb/objects/invoice_by_user.rb,
lib/bunq_rb/objects/request_inquiry.rb,
lib/bunq_rb/objects/request_response.rb,
lib/bunq_rb/objects/tab_usage_single.rb,
lib/bunq_rb/objects/attachment_public.rb,
lib/bunq_rb/objects/monetary_account_bank.rb,
lib/bunq_rb/objects/export_annual_overview.rb,
lib/bunq_rb/objects/customer_statement_export.rb,
lib/bunq_rb/objects/attachment_monetary_account.rb,
lib/bunq_rb/objects/installation_server_public_key.rb

Overview

BunqRb

Defined Under Namespace

Modules: Shared Classes: AttachmentMonetaryAccount, AttachmentPublic, Avatar, BunqMeTab, Card, CardName, CashRegister, Client, Configuration, CustomerStatementExport, Device, DeviceServer, ExportAnnualOverview, Installation, InstallationServerPublicKey, Invoice, InvoiceByUser, MonetaryAccountBank, Payment, PermittedIp, RequestInquiry, RequestResponse, SessionServer, TabUsageSingle, User

Constant Summary collapse

VERSION =
"0.1.4".freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



14
15
16
# File 'lib/bunq_rb.rb', line 14

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



17
18
19
20
# File 'lib/bunq_rb.rb', line 17

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

.loggerObject



2
3
4
# File 'lib/bunq_rb/logger.rb', line 2

def self.logger
  @@logger ||= defined?(Rails) ? Rails.logger : Logger.new(STDOUT)
end

.logger=(logger) ⇒ Object



6
7
8
# File 'lib/bunq_rb/logger.rb', line 6

def self.logger=(logger)
  @@logger = logger
end