Method: Airplay::Connection#get

Defined in:
lib/airplay/connection.rb

#get(resource, headers = {}) ⇒ Object

Public: Executes a GET to a resource

resource - The resource on the currently active Device headers - Optional headers

Returns a response object



70
71
72
# File 'lib/airplay/connection.rb', line 70

def get(resource, headers = {})
  prepare_request(:get, resource, nil, headers)
end