Sha256: 220cebf9b3d0f13673cc2b89cfe195126157db71fa11e87cca2598302c4f89c5
Contents?: true
Size: 345 Bytes
Versions: 5
Compression:
Stored size: 345 Bytes
Contents
# frozen_string_literal: true require "http" module Ryo class Client attr_reader :http def initialize @http = HTTP.headers(user_agent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36 Edge/14.14393") end def self.http new.http end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
ryo-0.3.2 | lib/ryo/client.rb |
ryo-0.3.1 | lib/ryo/client.rb |
ryo-0.3.0 | lib/ryo/client.rb |
ryo-0.2.0 | lib/ryo/client.rb |
ryo-0.1.0 | lib/ryo/client.rb |