Method: Pod::Metrics.pod

Defined in:
lib/cocoapods-core/metrics.rb

.pod(name) ⇒ Hash

Returns the metrics of a pod.

Parameters:

  • name (String)

    The name of the pod.

Returns:

  • (Hash)

    The metrics for the pod.



14
15
16
# File 'lib/cocoapods-core/metrics.rb', line 14

def self.pod(name)
  peform_request("http://metrics.cocoapods.org/api/v1/pods/#{name}")
end