class Hayamachi::Response

Attributes

data[RW]
status[RW]
url[RW]

Public Class Methods

new(http_response) click to toggle source
# File lib/hayamachi_response.rb, line 5
def initialize(http_response)
  @status = false
  @url = ""
  @data = {}

  # parse status here if its (301/302) then is success

  # get url from http response

  # get query data from url
end