Class: CocoapodsRepoSq::Source

Inherits:
Pod::Source
  • Object
show all
Defined in:
lib/cocoapods_repo_sq/source.rb

Overview

Class responsible of managing a collection of podspecs and pods hosted at a Square SDK repository. Files are accessed via HTTPS with Basic HTTP Authentication RFC7617

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(repository) ⇒ Source

Returns a new instance of Source

Parameters:

  • repository (Repository)

    an object representing a Square SDK repository where this source will get podspecs from.



37
38
39
40
# File 'lib/cocoapods_repo_sq/source.rb', line 37

def initialize(repository)
  @repository = repository
  super(repository.path)
end

Instance Attribute Details

#repositoryRepository (readonly)

Returns an object representing a Square SDK repository

Returns:

  • (Repository)

    an object representing a Square SDK repository



31
32
33
# File 'lib/cocoapods_repo_sq/source.rb', line 31

def repository
  @repository
end