Class: Libwebpay

Inherits:
Object
  • Object
show all
Defined in:
lib/libwebpay.rb

Instance Method Summary collapse

Instance Method Details

#getConfigurationObject



22
23
24
25
26
27
# File 'lib/libwebpay.rb', line 22

def getConfiguration
  if @configuration == nil
    @configuration = Configuration.new
  end
  return @configuration
end

#getWebpay(config) ⇒ Object



15
16
17
18
19
20
# File 'lib/libwebpay.rb', line 15

def getWebpay(config)
  if @webpay == nil
    @webpay = Webpay.new(config)
  end
  return @webpay
end