Method: XSR::Client#get

Defined in:
lib/xsr/client.rb

#get(path, options = {}) ⇒ Object



24
25
26
# File 'lib/xsr/client.rb', line 24

def get(path, options = {})
  request_with_data(path, options) { |uri| Net::HTTP::Get.new(uri.to_s) }
end