Class: Birdwatcher::HttpClient::Response

Inherits:
Struct
  • Object
show all
Defined in:
lib/birdwatcher/http_client.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



11
12
13
# File 'lib/birdwatcher/http_client.rb', line 11

def body
  @body
end

#headersObject

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



11
12
13
# File 'lib/birdwatcher/http_client.rb', line 11

def headers
  @headers
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



11
12
13
# File 'lib/birdwatcher/http_client.rb', line 11

def status
  @status
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



11
12
13
# File 'lib/birdwatcher/http_client.rb', line 11

def url
  @url
end