Module: Braspag

Defined in:
lib/baby-braspag.rb,
lib/baby-braspag/eft.rb,
lib/baby-braspag/bill.rb,
lib/baby-braspag/order.rb,
lib/baby-braspag/utils.rb,
lib/baby-braspag/errors.rb,
lib/baby-braspag/poster.rb,
lib/baby-braspag/version.rb,
lib/baby-braspag/connection.rb,
lib/baby-braspag/credit_card.rb,
lib/baby-braspag/payment_method.rb,
lib/baby-braspag/crypto/webservice.rb,
lib/baby-braspag/crypto/jar_webservice.rb,
lib/baby-braspag/protected_credit_card.rb,
lib/generators/braspag/install/install_generator.rb

Defined Under Namespace

Modules: Crypto, Generators Classes: Bill, Connection, CreditCard, Eft, Error, IncompleteParams, InvalidAmount, InvalidConnection, InvalidCryptKey, InvalidCustomerId, InvalidCustomerName, InvalidEncryptedKey, InvalidExpirationDate, InvalidHasInterest, InvalidHolder, InvalidIP, InvalidInstallments, InvalidInstructions, InvalidJustClickKey, InvalidMerchantId, InvalidNumber, InvalidNumberInstallments, InvalidNumberPayments, InvalidOrderId, InvalidPaymentMethod, InvalidPost, InvalidSecurityCode, InvalidStringFormat, InvalidType, Order, PaymentMethod, Poster, ProtectedCreditCard, UnknownError, Utils

Constant Summary collapse

VERSION =
"0.3.0"

Class Method Summary collapse

Class Method Details

.config_file_pathObject


34
35
36
# File 'lib/baby-braspag.rb', line 34

def self.config_file_path
  @config_path || 'config/braspag.yml'
end

.config_file_path=(path) ⇒ Object


30
31
32
# File 'lib/baby-braspag.rb', line 30

def self.config_file_path=(path)
  @config_path = path
end

.http_global_optionsObject


50
51
52
# File 'lib/baby-braspag.rb', line 50

def self.http_global_options
  @http_global_options || {}
end

.http_global_options=(options_hash) ⇒ Object


46
47
48
# File 'lib/baby-braspag.rb', line 46

def self.http_global_options=(options_hash)
  @http_global_options = options_hash
end

.loggerObject


26
27
28
# File 'lib/baby-braspag.rb', line 26

def self.logger
  @logger
end

.logger=(value) ⇒ Object


22
23
24
# File 'lib/baby-braspag.rb', line 22

def self.logger=(value)
  @logger = value
end

.proxy_addressObject


42
43
44
# File 'lib/baby-braspag.rb', line 42

def self.proxy_address
  @proxy_address
end

.proxy_address=(value) ⇒ Object


38
39
40
# File 'lib/baby-braspag.rb', line 38

def self.proxy_address=(value)
  @proxy_address = value
end

.savon_global_optionsObject


58
59
60
# File 'lib/baby-braspag.rb', line 58

def self.savon_global_options
  @savon_global_options || {}
end

.savon_global_options=(options_hash) ⇒ Object


54
55
56
# File 'lib/baby-braspag.rb', line 54

def self.savon_global_options=(options_hash)
  @savon_global_options = options_hash
end