class Kovid::UriBuilder
Constants
- BASE_URI
Attributes
path[R]
Public Class Methods
new(path = '')
click to toggle source
# File lib/kovid/uri_builder.rb, line 11 def initialize(path = '') @path = path end
Public Instance Methods
url()
click to toggle source
# File lib/kovid/uri_builder.rb, line 15 def url URI::HTTPS.build(host: BASE_URI, path: path).to_s end