goldfinger/lib/goldfinger/utils.rb

12 lines
272 B
Ruby
Raw Normal View History

2016-02-17 15:13:19 +01:00
module Goldfinger
module Utils
def perform_get(path, options = {})
perform_request(:get, path, options)
end
def perform_request(request_method, path, options = {})
Goldfinger::Request.new(request_method, path, options).perform
end
end
end