examples/5-payments-history.rb in mollie-api-ruby-1.1.0 vs examples/5-payments-history.rb in mollie-api-ruby-1.1.1
- old
+ new
@@ -1,8 +1,8 @@
#
# Example 5 - How to retrieve your payments history.
#
-require File.expand_path "../lib/Mollie/API/Client", __dir__
+require File.expand_path "../lib/Mollie/API/Client", File.dirname(__FILE__)
begin
#
# Initialize the Mollie API library with your API key.
#