module ZoozPayments

Constants

VERSION

Attributes

app_key[RW]
response_type[RW]
sandbox[RW]
unique_id[RW]
url[RW]

Public Class Methods

setup() { |self| ... } click to toggle source

initializer with all the configuration values

# File lib/zooz_payments.rb, line 9
def setup
  self.response_type = 'NVP'
  yield self
  self.url = self.sandbox ? 'https://sandbox.zooz.co/mobile/SecuredWebServlet':'https://app.zooz.com/mobile/SecuredWebServlet'
end