class Ryo::Client
Attributes
http[R]
Public Class Methods
http()
click to toggle source
# File lib/ryo/client.rb, line 12 def self.http new.http end
new()
click to toggle source
# File lib/ryo/client.rb, line 8 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