Method: Sawyer::Agent#root

Defined in:
lib/sawyer/agent.rb

#rootObject

Public: Retains a reference to the root response of the API.

Returns a Sawyer::Response.



61
62
63
# File 'lib/sawyer/agent.rb', line 61

def root
  @root ||= start
end