lib/restpack_activity/proxies/activity/api.rb in restpack_activity-0.0.3 vs lib/restpack_activity/proxies/activity/api.rb in restpack_activity-0.0.4
- old
+ new
@@ -26,10 +26,10 @@
def self.http(method, path, params = {})
params = { params: params } if method == :get
RestClient.send(method, "#{RestPack::Activity.config.api_domain}#{path}", params) do |rest_response|
- response = RestPack::Response.from_rest(rest_response)
+ response = RestPack::Service::Response.from_rest(rest_response)
raise_exceptions_if_required(response)
response
end
end
end