Class: CreditDevice::Base

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

Class Method Summary collapse

Class Method Details

.config(url, username, password) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/credit_device/base.rb', line 3

def self.config(url, username, password)
  CreditDevice.configure do |config|
    config.url = url
    config.username = username
    config.password = password
  end
end