class EBICS::User
Attributes
member_id[RW]
partner_id[RW]
Public Class Methods
new(&block)
click to toggle source
# File lib/ebics.rb, line 55 def initialize(&block) @key_initializer = block @keys = {} end
Public Instance Methods
initialize_key(type)
click to toggle source
# File lib/ebics.rb, line 64 def initialize_key(type) key = Key.new(type) @key_initializer.call(key) return key end
key(type)
click to toggle source
# File lib/ebics.rb, line 60 def key(type) @keys[type.to_sym] || (@keys[type] = initialize_key(type)) end