Class: Pod::CacheProxyAuth

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

Instance Method Summary collapse

Constructor Details

#initialize(host, token) ⇒ CacheProxyAuth

Returns a new instance of CacheProxyAuth.

Parameters:

  • host (String)
  • token (String)


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

def initialize(host, token)
  @host = host
  @token = token
end

Instance Method Details

#hostString

Returns:

  • (String)


12
13
14
# File 'lib/cocoapods-cache-proxy/native/cache_proxy_auth.rb', line 12

def host
  @host
end

#tokenObject



16
17
18
# File 'lib/cocoapods-cache-proxy/native/cache_proxy_auth.rb', line 16

def token
  @token
end