Class: Amp::Repositories::HTTPSRepository
- Inherits:
-
HTTPRepository
- Object
- Repository
- HTTPRepository
- Amp::Repositories::HTTPSRepository
- Defined in:
- lib/amp/repository/repositories/http_repository.rb
Overview
A special form of the HTTPRepository, except that it is secured over SSL (HTTPS). Other than that, nothing fancy about it.
Constant Summary
Constants inherited from HTTPRepository
Amp::Repositories::HTTPRepository::DEFAULT_HEADERS
Constants included from Amp::RevlogSupport::Node
Amp::RevlogSupport::Node::NULL_ID, Amp::RevlogSupport::Node::NULL_REV
Instance Attribute Summary
Attributes inherited from HTTPRepository
Instance Method Summary collapse
-
#initialize(*args) ⇒ HTTPSRepository
constructor
A new instance of HTTPSRepository.
Methods inherited from HTTPRepository
#between, #branches, #changegroup, #changegroup_subset, #get_capabilities, #heads, #local?, #lock, #lookup, #stream_out, #unbundle
Methods included from Amp::RevlogSupport::Node
Methods inherited from Repository
#add_path, #can_copy?, #capable?, #get_capabilities, #local?, #require_capability
Constructor Details
#initialize(*args) ⇒ HTTPSRepository
Returns a new instance of HTTPSRepository.
369 370 371 372 373 374 |
# File 'lib/amp/repository/repositories/http_repository.rb', line 369 def initialize(*args) require 'net/https' super(*args) self.secure = true end |