Class: Pod::Config
- Inherits:
-
Object
- Object
- Pod::Config
- Defined in:
- lib/cocoapods-cache-proxy/native/config.rb
Instance Attribute Summary collapse
-
#cache_proxy_source ⇒ Object
readonly
Returns the value of attribute cache_proxy_source.
Instance Method Summary collapse
Instance Attribute Details
#cache_proxy_source ⇒ Object (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 |