Sha256: a7d5e4e3dbc2d5e43f13e33ce503f536dfe0b96000a85bd0f2c7f7476252d5ca
Contents?: true
Size: 281 Bytes
Versions: 59
Compression:
Stored size: 281 Bytes
Contents
# frozen_string_literal: true require 'uri' module Kovid class UriBuilder attr_reader :path BASE_URI = 'corona.lmao.ninja' def initialize(path = '') @path = path end def url URI::HTTPS.build(host: BASE_URI, path: path).to_s end end end
Version data entries
59 entries across 59 versions & 1 rubygems