examples/requests_get.rb in xolphin-api-1.8.0 vs examples/requests_get.rb in xolphin-api-1.9.0
- old
+ new
@@ -1,7 +1,8 @@
require_relative "../lib/xolphin/api"
+require_relative "_credentials"
-client = Xolphin::Api::Client.new(Credentials.username, Credentials.password, true)
+client = Xolphin::Api::Client.new(Credentials.username, Credentials.password, false)
requests = client.request.all
requests.each do |request|
puts request.id, request.product.id
end