Class: Pod::CacheProxySource
- Inherits:
-
Object
- Object
- Pod::CacheProxySource
show all
- Defined in:
- lib/cocoapods-cache-proxy/native/cache_proxy_source.rb,
lib/cocoapods-cache-proxy/helper/cache_proxy_source_helper.rb
Defined Under Namespace
Classes: CacheProxySourceHelper
Instance Method Summary
collapse
Constructor Details
#initialize(name, baseURL, user, password) ⇒ CacheProxySource
Returns a new instance of CacheProxySource.
7
8
9
10
11
12
|
# File 'lib/cocoapods-cache-proxy/native/cache_proxy_source.rb', line 7
def initialize(name, baseURL, user, password)
@name = name
@baseURL = baseURL
@user = user
@password = password
end
|
Instance Method Details
#baseURL ⇒ Object
18
19
20
|
# File 'lib/cocoapods-cache-proxy/native/cache_proxy_source.rb', line 18
def baseURL
@baseURL
end
|
#build_proxy_source(pod, git, tag, submodules = false) ⇒ Object
30
31
32
|
# File 'lib/cocoapods-cache-proxy/native/cache_proxy_source.rb', line 30
def build_proxy_source(pod, git, tag, submodules = false)
"#{@baseURL}/#{pod}?git=#{git}&tag=#{tag}&submodules=#{submodules}"
end
|
#name ⇒ Object
14
15
16
|
# File 'lib/cocoapods-cache-proxy/native/cache_proxy_source.rb', line 14
def name
@name
end
|
#password ⇒ Object
26
27
28
|
# File 'lib/cocoapods-cache-proxy/native/cache_proxy_source.rb', line 26
def password
@password
end
|
#user ⇒ Object
22
23
24
|
# File 'lib/cocoapods-cache-proxy/native/cache_proxy_source.rb', line 22
def user
@user
end
|