Module: Upay
- Defined in:
- lib/upay.rb,
lib/upay/plan.rb,
lib/upay/order.rb,
lib/upay/token.rb,
lib/upay/report.rb,
lib/upay/payment.rb,
lib/upay/version.rb,
lib/upay/customer.rb,
lib/upay/configure.rb,
lib/upay/requestor.rb,
lib/upay/signature.rb,
lib/upay/credit_card.rb,
lib/upay/transaction.rb,
lib/upay/people/buyer.rb,
lib/upay/people/payer.rb,
lib/upay/subscription.rb,
lib/upay/people/person.rb,
lib/upay/address/address.rb,
lib/upay/address/billing_address.rb,
lib/upay/address/shipping_address.rb
Defined Under Namespace
Modules: Address, People
Classes: Configure, CreditCard, CreditCardValidator, Customer, CustomerValidator, Order, OrderValidator, Payment, Plan, PlanValidator, Report, Requestor, Signature, Subscription, Token, TokenValidator, Transaction, TransactionResponse, TransactionValidator
Constant Summary
collapse
- PAYMENTS_API_URL =
"/payments-api/4.0/service.cgi"
- REPORTS_API_URL =
"/reports-api/4.0/service.cgi"
- VERSION =
"0.0.1"
Class Method Summary
collapse
Class Method Details
.account_id ⇒ Object
50
|
# File 'lib/upay.rb', line 50
def self.account_id; @account_id end
|
.account_id=(account_id) ⇒ Object
51
52
53
|
# File 'lib/upay.rb', line 51
def self.account_id=(account_id)
@account_id = account_id
end
|
.api_key ⇒ Object
55
|
# File 'lib/upay.rb', line 55
def self.api_key; @api_key end
|
.api_key=(api_key) ⇒ Object
56
57
58
|
# File 'lib/upay.rb', line 56
def self.api_key=(api_key)
@api_key = api_key
end
|
.api_login ⇒ Object
60
|
# File 'lib/upay.rb', line 60
def self.api_login; @api_login end
|
.api_login=(api_login) ⇒ Object
61
62
63
|
# File 'lib/upay.rb', line 61
def self.api_login=(api_login)
@api_login = api_login
end
|
.config {|_self| ... } ⇒ Object
41
42
43
|
# File 'lib/upay.rb', line 41
def self.config
yield self
end
|
.lang ⇒ Object
70
|
# File 'lib/upay.rb', line 70
def self.lang; @lang end
|
.lang=(lang) ⇒ Object
71
72
73
|
# File 'lib/upay.rb', line 71
def self.lang=(lang)
@lang = lang
end
|
.logger ⇒ Object
75
|
# File 'lib/upay.rb', line 75
def self.logger; @logger end
|
.logger=(logger) ⇒ Object
76
77
78
|
# File 'lib/upay.rb', line 76
def self.logger=(logger)
@logger = logger
end
|
.merchant_id ⇒ Object
45
|
# File 'lib/upay.rb', line 45
def self.merchant_id; @merchant_id end
|
.merchant_id=(merchant_id) ⇒ Object
46
47
48
|
# File 'lib/upay.rb', line 46
def self.merchant_id=(merchant_id)
@merchant_id = merchant_id
end
|
.notifyUrl ⇒ Object
80
|
# File 'lib/upay.rb', line 80
def self.notifyUrl; @notifyUrl end
|
.notifyUrl=(notifyUrl) ⇒ Object
81
82
83
|
# File 'lib/upay.rb', line 81
def self.notifyUrl=(notifyUrl)
@notifyUrl = notifyUrl
end
|
.test ⇒ Object
65
|
# File 'lib/upay.rb', line 65
def self.test; @test end
|
.test=(test) ⇒ Object
66
67
68
|
# File 'lib/upay.rb', line 66
def self.test=(test)
@test = test
end
|