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/api/api.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: API, 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.2"

Class Method Summary collapse

Class Method Details

.account_idObject



52
# File 'lib/upay.rb', line 52

def self.; @account_id end

.account_id=(account_id) ⇒ Object



53
54
55
# File 'lib/upay.rb', line 53

def self.()
  @account_id = 
end

.api_keyObject



57
# File 'lib/upay.rb', line 57

def self.api_key; @api_key end

.api_key=(api_key) ⇒ Object



58
59
60
# File 'lib/upay.rb', line 58

def self.api_key=(api_key)
  @api_key = api_key
end

.api_loginObject



62
# File 'lib/upay.rb', line 62

def self.; @api_login end

.api_login=(api_login) ⇒ Object



63
64
65
# File 'lib/upay.rb', line 63

def self.api_login=()
  @api_login = 
end

.config {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Upay)

    the object that the method was called on



43
44
45
# File 'lib/upay.rb', line 43

def self.config
  yield self
end

.langObject



72
# File 'lib/upay.rb', line 72

def self.lang; @lang end

.lang=(lang) ⇒ Object



73
74
75
# File 'lib/upay.rb', line 73

def self.lang=(lang)
  @lang = lang
end

.loggerObject



77
# File 'lib/upay.rb', line 77

def self.logger; @logger end

.logger=(logger) ⇒ Object



78
79
80
# File 'lib/upay.rb', line 78

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

.merchant_idObject



47
# File 'lib/upay.rb', line 47

def self.merchant_id; @merchant_id end

.merchant_id=(merchant_id) ⇒ Object



48
49
50
# File 'lib/upay.rb', line 48

def self.merchant_id=(merchant_id)
  @merchant_id = merchant_id
end

.notifyUrlObject



82
# File 'lib/upay.rb', line 82

def self.notifyUrl; @notifyUrl end

.notifyUrl=(notifyUrl) ⇒ Object



83
84
85
# File 'lib/upay.rb', line 83

def self.notifyUrl=(notifyUrl)
  @notifyUrl = notifyUrl
end

.testObject



67
# File 'lib/upay.rb', line 67

def self.test; @test end

.test=(test) ⇒ Object



68
69
70
# File 'lib/upay.rb', line 68

def self.test=(test)
  @test = test
end