lib/insales_api.rb in insales_api-0.0.10 vs lib/insales_api.rb in insales_api-0.0.13

- old
+ new

@@ -1,10 +1,40 @@ -require "active_resource" -require "digest/md5" +require 'active_support/core_ext' +require 'active_resource' +# backport from 4.0 +require 'active_resource/singleton' unless ActiveResource.const_defined?(:Singleton, false) +require 'digest/md5' module InsalesApi + extend ActiveSupport::Autoload -end + eager_autoload do + autoload :Version + autoload :App + autoload :Password -require "insales_api/resources" -require "insales_api/app" -require "insales_api/password" + autoload :Base + autoload :Account + autoload :Category + autoload :Client + autoload :Collection + autoload :Collect + autoload :OptionName + autoload :OptionValue + autoload :Product + autoload :Variant + autoload :Webhook + autoload :Order + autoload :OrderLine + autoload :ApplicationWidget + autoload :Field + autoload :DeliveryVariant + autoload :PaymentGateway + autoload :JsTag + autoload :Domain + autoload :Page + autoload :Theme + autoload :Asset + autoload :RecurringApplicationCharge + autoload :File + end +end