lib/paddle.rb in paddle-2.3.0 vs lib/paddle.rb in paddle-2.4.0
- old
+ new
@@ -7,11 +7,12 @@
module Paddle
autoload :Configuration, "paddle/configuration"
autoload :Client, "paddle/client"
autoload :Collection, "paddle/collection"
autoload :Error, "paddle/error"
- autoload :ErrorFactory, "paddle/error"
+ autoload :ErrorGenerator, "paddle/error_generator"
+ autoload :ErrorFactory, "paddle/error_generator"
autoload :Object, "paddle/object"
class << self
attr_writer :config
@@ -48,9 +49,10 @@
# Load Classic APIs
module Classic
autoload :Client, "paddle/classic/client"
autoload :Collection, "paddle/classic/collection"
autoload :Resource, "paddle/classic/resource"
+ autoload :Error, "paddle/classic/error"
autoload :PlansResource, "paddle/classic/resources/plans"
autoload :CouponsResource, "paddle/classic/resources/coupons"
autoload :ProductsResource, "paddle/classic/resources/products"
autoload :LicensesResource, "paddle/classic/resources/licenses"