Class: Pod::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/cocoapods-cache-proxy/native/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#cache_proxy_sourceObject (readonly)

Returns the value of attribute cache_proxy_source.



6
7
8
# File 'lib/cocoapods-cache-proxy/native/config.rb', line 6

def cache_proxy_source
  @cache_proxy_source
end

Instance Method Details

#set_cache_proxy_source(name) ⇒ Object



8
9
10
11
12
# File 'lib/cocoapods-cache-proxy/native/config.rb', line 8

def set_cache_proxy_source(name)
    return if name.blank?
    return unless (cnf = CPSH.get_cache_proxy_source_conf(name))
    @cache_proxy_source = cnf
end