Sha256: ac073ce024033f9c7d295c96d46b538e69bacad927fac3b45ee74de4bbcadb58
Contents?: true
Size: 893 Bytes
Versions: 7
Compression:
Stored size: 893 Bytes
Contents
require 'workarea' require 'workarea/storefront' require 'workarea/admin' require 'paypal-checkout-sdk' require 'workarea/paypal/requests/generate_token' require 'workarea/paypal/requests/list_webhooks' require 'workarea/paypal/requests/create_webhook' require 'workarea/paypal/requests/delete_webhook' require 'workarea/paypal/gateway' module Workarea module Paypal class << self delegate :client, to: :gateway def gateway Workarea::Paypal::Gateway.new end def transform_values(value) case value when OpenStruct transform_values(value.to_h) when Hash value.transform_values(&method(:transform_values)) when Array value.map(&method(:transform_values)) else value end end end end end require 'workarea/paypal/version' require 'workarea/paypal/engine'
Version data entries
7 entries across 7 versions & 1 rubygems