Module: Sisow

Defined in:
lib/sisow.rb,
lib/sisow/ping.rb,
lib/sisow/issuer.rb,
lib/sisow/payment.rb,
lib/sisow/version.rb,
lib/sisow/merchant.rb,
lib/sisow/exception.rb,
lib/sisow/api/request.rb,
lib/sisow/api/callback.rb,
lib/sisow/configuration.rb,
lib/sisow/error_response.rb,
lib/sisow/payment/ideal_payment.rb,
lib/sisow/payment/paypal_payment.rb,
lib/sisow/payment/sofort_payment.rb,
lib/sisow/api/request/ping_request.rb,
lib/sisow/payment/bancontact_payment.rb,
lib/sisow/payment/credit_card_payment.rb,
lib/sisow/api/request/directory_request.rb,
lib/sisow/api/request/transaction_request.rb,
lib/sisow/api/request/check_merchant_request.rb

Defined Under Namespace

Modules: Api Classes: BancontactPayment, CheckMerchantRequest, Configuration, CreditCardPayment, ErrorResponse, Exception, IdealPayment, Issuer, Merchant, Payment, PaypalPayment, Ping, SofortPayment

Constant Summary collapse

VERSION =
"2.1"

Class Method Summary collapse

Class Method Details

.configurationObject



38
39
40
# File 'lib/sisow.rb', line 38

def configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



34
35
36
# File 'lib/sisow.rb', line 34

def configure
  yield configuration
end

.service_reachable?Boolean

Returns:

  • (Boolean)


30
31
32
# File 'lib/sisow.rb', line 30

def service_reachable?
  ping = Sisow::Ping.send
end