Class: Dhall::Import::Http

Inherits:
URI
  • Object
show all
Defined in:
lib/dhall/ast.rb

Instance Method Summary collapse

Methods inherited from URI

#as_json, #canonical, #chain_onto, from_uri, #headers, #initialize, #origin, #to_s, #uri, #with

Constructor Details

This class inherits a constructor from Dhall::Import::URI

Instance Method Details

#resolve(resolver) ⇒ Object



1308
1309
1310
# File 'lib/dhall/ast.rb', line 1308

def resolve(resolver)
  resolver.resolve_http(self)
end

#schemeObject



1312
1313
1314
# File 'lib/dhall/ast.rb', line 1312

def scheme
  "http"
end