class Flexirest::PlainResponse

Attributes

_headers[RW]
_status[RW]

Public Class Methods

from_response(response) click to toggle source
# File lib/flexirest/plain_response.rb, line 6
def self.from_response(response)
  plain = self.new(response.body)
  plain._status = response.status
  plain._headers = response.response_headers
  plain
end