Module: BankLink

Defined in:
lib/bank_link.rb,
lib/bank_link/bank.rb,
lib/bank_link/link.rb,
lib/bank_link/mac/vk.rb,
lib/bank_link/railtie.rb,
lib/bank_link/version.rb,
lib/bank_link/mac/base.rb,
lib/bank_link/mac/solo.rb,
lib/bank_link/view_helpers.rb,
lib/bank_link/configuration.rb

Defined Under Namespace

Modules: Mac, ViewHelpers Classes: Bank, Configuration, Link, Railtie

Constant Summary collapse

VERSION =
"0.0.5"

Class Method Summary collapse

Class Method Details



24
25
26
# File 'lib/bank_link.rb', line 24

def authorization_links *args, &block
  configuration.authorization_links(*args, &block)
end

.configurationObject



16
17
18
# File 'lib/bank_link.rb', line 16

def configuration
  block_given? ? yield(configuration) : (@configuration ||= Configuration.instance)
end


20
21
22
# File 'lib/bank_link.rb', line 20

def payment_links *args, &block
  configuration.payment_links(*args, &block)
end