lib/trav3/pagination.rb in trav3-0.2.3 vs lib/trav3/pagination.rb in trav3-0.2.4
- old
+ new
@@ -22,10 +22,10 @@
def last
get("#{API_ROOT}#{dig('@pagination').dig('last').dig('@href')}")
end
def get(url)
- Trav3::GET.call(travis, url)
+ Trav3::REST.get(travis, url)
end
private :get
attr_reader :travis
private :travis