lib/adyen.rb in adyen-2.0.0.pre1 vs lib/adyen.rb in adyen-2.0.0.pre2
- old
+ new
@@ -1,14 +1,18 @@
-# The Adyen module is the container module for all Adyen related functionality,
-# which is implemented in submodules. This module only contains some global
+# The Adyen module is the container module for all Adyen related functionality,
+# which is implemented in submodules. This module only contains some global
# configuration methods.
#
# The most important submodules are:
-# * {Adyen::Form} for generating payment form fields, generating redirect URLs
+# * {Adyen::Form} for generating payment form fields, generating redirect URLs
# to the Adyen payment system, and generating and checking of signatures.
# * {Adyen::API} for communicating with the Adyen SOAP services for issuing
# (recurring) payments and recurring contract maintenance.
module Adyen
+
+ # Basic exception class for Adyen
+ class Error < ::StandardError
+ end
# @return [Configuration] The configuration singleton.
def self.configuration
@configuration ||= Adyen::Configuration.new
end