Class: Pod::Downloader::Square
- Inherits:
-
Http
- Object
- Http
- Pod::Downloader::Square
- Defined in:
- lib/pod/downloader/square.rb
Overview
Subclass of Pod::Downloader::Http to support downloading files from Square SDK Repository server
Class Method Summary collapse
-
.options ⇒ Array<Symbol>
The options accepted by Square Downloader.
Instance Method Summary collapse
-
#repository ⇒ CocoapodsRepoSq::Repository
Square SDK repository.
Class Method Details
.options ⇒ Array<Symbol>
Returns the options accepted by Square Downloader.
50 51 52 |
# File 'lib/pod/downloader/square.rb', line 50 def self. super + [:repository] end |
Instance Method Details
#repository ⇒ CocoapodsRepoSq::Repository
Returns Square SDK repository
56 57 58 |
# File 'lib/pod/downloader/square.rb', line 56 def repository @repository ||= .fetch(:repository) { CocoapodsRepoSq::Repository.current } end |