Class: PaypalAPI::WebhookVerifier::NullCache Private

Inherits:
Object
  • Object
show all
Defined in:
lib/paypal-api/webhook_verifier/certs_cache.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Null-object cache class. Implements only #read and #write method.

Class Method Summary collapse

Class Method Details

.fetch(_key) ⇒ String

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Just calls provided block

Parameters:

  • _key (String)

    Cache key

Returns:

  • (String)

    block result



70
71
72
# File 'lib/paypal-api/webhook_verifier/certs_cache.rb', line 70

def self.fetch(_key)
  yield
end