lib/fanforce/api.rb in fanforce-api-0.31.0 vs lib/fanforce/api.rb in fanforce-api-1.0.0
- old
+ new
@@ -1,12 +1,8 @@
-class Fanforce
- require 'fanforce'
- require 'fanforce/errors'
- require 'fanforce/domains'
- class API
- require_relative 'api/_main'
- require_relative 'api/version'
- require_relative 'api/error'
- end
- include Fanforce::Errors
-end
+require 'fanforce/base'
+
+require_relative 'api/version'
+require_relative 'api/utils'
+require_relative 'api/errors'
+require_relative 'api/response'
+require_relative 'api/main'