class Slodd::Http

Attributes

url[RW]

Public Class Methods

new(attrs) click to toggle source
# File lib/slodd/http.rb, line 8
def initialize(attrs)
  self.url = attrs.fetch(:url)
end

Public Instance Methods

schema() click to toggle source
# File lib/slodd/http.rb, line 12
def schema
  open(url).read
end