lib/rev-api.rb in rev-api-2.2.1 vs lib/rev-api.rb in rev-api-2.3.0
- old
+ new
@@ -1,11 +1,11 @@
require 'httparty'
# These three are the only classes that should be accessed directly
require 'rev-api/api'
-module Rev
+module Rev
class << self
# Alias for Rev::Api.new
#
# @return [Rev::Api]
def new(client_api_key, user_api_key, host)
@@ -21,6 +21,6 @@
def respond_to?(method, include_private = false)
new.respond_to?(method, include_private) || super(method, include_private)
end
end
-end
\ No newline at end of file
+end