Method: Flox::RestService#get

Defined in:
lib/flox/rest_service.rb

#get(path, data = nil) ⇒ Object

Makes a GET request at the server. The given data-Hash is URI-encoded and added to the path.

Returns:

  • the server response.



32
33
34
# File 'lib/flox/rest_service.rb', line 32

def get(path, data=nil)
  request(:get, path, data)
end