lib/novaposhta_api/resource.rb in novaposhta_api-0.1.8 vs lib/novaposhta_api/resource.rb in novaposhta_api-0.1.9
- old
+ new
@@ -7,10 +7,10 @@
def initialize(http: nil)
@http = http
end
def request(*args)
- response = http.post(*args)
+ response = http.request(:post, *args)
response['data']
end
end
end