Module: GpWebpay

Defined in:
lib/gp_webpay/ws/echo.rb,
lib/gp_webpay/error.rb,
lib/rails-gp-webpay.rb,
lib/gp_webpay/engine.rb,
lib/gp_webpay/service.rb,
lib/gp_webpay/version.rb,
lib/gp_webpay/response.rb,
lib/gp_webpay/configuration.rb,
lib/gp_webpay/ws/ws_request.rb,
lib/gp_webpay/ws/ws_response.rb,
lib/gp_webpay/mock/spec_helper.rb,
lib/gp_webpay/openssl_security.rb,
lib/gp_webpay/http/external_url.rb,
lib/gp_webpay/http/http_request.rb,
lib/gp_webpay/http/http_response.rb,
lib/gp_webpay/ws/validate_result.rb,
lib/gp_webpay/http/validate_result.rb,
lib/gp_webpay/ws/base_signed_request.rb,
lib/gp_webpay/http/base_signed_request.rb,
lib/gp_webpay/http/services/verify_card.rb,
lib/gp_webpay/http/services/create_order.rb,
app/controllers/gp_webpay/cards_controller.rb,
lib/gp_webpay/ws/services/get_token_status.rb,
app/controllers/gp_webpay/orders_controller.rb,
lib/gp_webpay/ws/services/get_payment_status.rb,
lib/gp_webpay/ws/services/process_token_revoke.rb,
lib/gp_webpay/ws/services/process_token_payment.rb,
lib/gp_webpay/ws/services/process_cancel_capture.rb,
lib/gp_webpay/ws/services/process_refund_payment.rb,
lib/gp_webpay/ws/services/process_capture_reverse.rb,
lib/gp_webpay/ws/services/get_master_payment_status.rb,
lib/gp_webpay/ws/services/process_recurring_payment.rb,
lib/gp_webpay/ws/services/process_usage_based_payment.rb,
lib/gp_webpay/ws/services/process_card_on_file_payment.rb,
lib/gp_webpay/ws/services/process_master_payment_revoke.rb

Overview

Service object changes credit card token status to “REVOKED”. Should be used when user decides to remove card from system.

Returns:

Defined Under Namespace

Modules: Http, OpensslSecurity, SpecHelper, Ws Classes: CardsController, Configuration, Engine, Error, OrdersController, Response, Service

Constant Summary collapse

VERSION =
'0.2.8'.freeze

Class Method Summary collapse

Class Method Details

.configObject



44
45
46
# File 'lib/rails-gp-webpay.rb', line 44

def self.config
  @configuration
end

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

Yields:

  • (@configuration)


48
49
50
# File 'lib/rails-gp-webpay.rb', line 48

def self.configure
  yield(@configuration)
end

.rootObject



52
53
54
# File 'lib/rails-gp-webpay.rb', line 52

def self.root
  File.dirname(__dir__)
end