class Swagger::URI

Class representing a URI. Backed by Addressable::URI. @see en.wikipedia.org/wiki/Uniform_resource_identifier

Attributes

uri[R]

Public Class Methods

new(string) click to toggle source
Calls superclass method
# File lib/swagger/uri.rb, line 6
def initialize(string)
  @uri = Addressable::URI.heuristic_parse string
  super
end