class Mtc::Mtc
Attributes
SLKSecretKey[RW]
actionSLK[RW]
cartId[RW]
storeId[RW]
Public Class Methods
new(keys = {})
click to toggle source
# File lib/mtc.rb, line 11 def initialize keys = {} @@actionSLK = keys[:actionSLK] @@SLKSecretKey = keys[:SLKSecretKey] @@storeId = keys[:storeId] @@cartId = keys[:cartId] @@offerURL = keys[:offerURL] @@updateURL = keys[:updateURL] @@bookURL = keys[:bookURL] end
Public Instance Methods
keys()
click to toggle source
# File lib/mtc.rb, line 21 def keys @@actionSLK + @@SLKSecretKey + @@storeId + @@cartId end
transaction()
click to toggle source
# File lib/mtc.rb, line 25 def transaction Transaction.new end