lib/koala.rb in koala-2.5.0 vs lib/koala.rb in koala-3.0.0.beta1
- old
+ new
@@ -3,10 +3,11 @@
require 'json'
# include koala modules
require 'koala/errors'
require 'koala/api'
+require 'koala/api/graph_batch_api'
require 'koala/oauth'
require 'koala/realtime_updates'
require 'koala/test_users'
# HTTP module so we can communicate with Facebook
@@ -59,10 +60,10 @@
@http_service = service
end
# An convenenient alias to Koala.http_service.make_request.
def self.make_request(path, args, verb, options = {})
- http_service.make_request(path, args, verb, options)
+ http_service.make_request(HTTPService::Request.new(path: path, args: args, verb: verb, options: options))
end
# we use Faraday as our main service, with mock as the other main one
self.http_service = HTTPService
end