class Hawker::Request

Public Class Methods

call(url) click to toggle source

Performs the request to the given URL in order to get the page html

@return [RestClient::Response]

# File lib/hawker/request.rb, line 9
def self.call(url)
  ::RestClient.get(url, user_agent: 'Mozilla/5.0 Mac OS')
end