Module: Paypal::Webhooks

Defined in:
lib/paypal/webhooks.rb,
lib/paypal/webhooks/event.rb,
lib/paypal/webhooks/x509_certificate.rb

Defined Under Namespace

Classes: Event, EventVerificationFailed, X509Certificate

Class Method Summary collapse

Class Method Details

.clear_configurationObject



14
15
16
# File 'lib/paypal/webhooks.rb', line 14

def clear_configuration
  @configuration = nil
end

.configurationObject



10
11
12
# File 'lib/paypal/webhooks.rb', line 10

def configuration
  @configuration ||= WebhooksConfiguration.new
end

.configure(&block) ⇒ Object



6
7
8
# File 'lib/paypal/webhooks.rb', line 6

def configure(&block)
  block.call(configuration)
end