Module: Binking
- Extended by:
- Binking
- Included in:
- Binking
- Defined in:
- lib/binking.rb,
lib/binking/client.rb,
lib/binking/config.rb,
lib/binking/fields.rb,
lib/binking/version.rb,
lib/binking/request_resource.rb
Defined Under Namespace
Modules: RequestResource
Classes: Client, Config, NotConfiguredError
Constant Summary
collapse
- FIELDS =
%w[
bankAlias
bankName
bankLocalName
bankLogoBigOriginalSvg
bankLogoBigOriginalPng
bankLogoBigInvertedSvg
bankLogoBigInvertedPng
bankLogoSmallOriginalSvg
bankLogoSmallOriginalPng
bankLogoSmallInvertedSvg
bankLogoSmallInvertedPng
bankColor
bankColors
bankCountry
bankSite
bankPhone
formBackgroundColor
formBackgroundColors
formBackgroundLightness
formTextColor
formBorderColor
formBankLogoBigSvg
formBankLogoBigPng
formBankLogoSmallSvg
formBankLogoSmallPng
formLogoScheme
].freeze
- VERSION =
"0.2.4"
Instance Method Summary
collapse
Instance Method Details
14
15
16
17
18
|
# File 'lib/binking.rb', line 14
def configure
@config ||= Config.new
yield @config if block_given?
@config
end
|
21
22
23
|
# File 'lib/binking.rb', line 21
def configured?
config.configured?
end
|