class ConnectionUrlResolver

Constants

NoURLError
VERSION

Attributes

uri[R]

Public Class Methods

new(url) click to toggle source
# File lib/connection_url_resolver.rb, line 5
def initialize(url)
  raise NoURLError if url.empty?

  @uri = URIDecorator.new(url)
end

Public Instance Methods

to_hash() click to toggle source
# File lib/connection_url_resolver.rb, line 11
def to_hash
  uri.to_hash
end