Method: Dhall::Resolvers::ReadPathAndIPFSSources#initialize
- Defined in:
- lib/dhall/resolve.rb
#initialize(path_reader: ReadPathSources, http_reader: ReadHttpSources, https_reader: http_reader, public_gateway: URI("https://cloudflare-ipfs.com")) ⇒ ReadPathAndIPFSSources
Returns a new instance of ReadPathAndIPFSSources.
98 99 100 101 102 103 104 105 106 107 108 |
# File 'lib/dhall/resolve.rb', line 98 def initialize( path_reader: ReadPathSources, http_reader: ReadHttpSources, https_reader: http_reader, public_gateway: URI("https://cloudflare-ipfs.com") ) @path_reader = path_reader @http_reader = http_reader @https_reader = https_reader @public_gateway = public_gateway end |