class Bundler::Fetcher::Base

Attributes

display_uri[R]
downloader[R]
fetch_uri[R]
remote_uri[R]

Public Class Methods

new(downloader, remote_uri, fetch_uri, display_uri) click to toggle source
# File lib/bundler/fetcher/base.rb, line 9
def initialize(downloader, remote_uri, fetch_uri, display_uri)
  raise 'Abstract class' if self.class == Base
  @downloader = downloader
  @remote_uri = remote_uri
  @fetch_uri = fetch_uri
  @display_uri = display_uri
end

Public Instance Methods

api_available?() click to toggle source
# File lib/bundler/fetcher/base.rb, line 17
def api_available?
  api_fetcher?
end
api_fetcher?() click to toggle source
# File lib/bundler/fetcher/base.rb, line 21
def api_fetcher?
  false
end