Class: Fog::CDN::AWS::Distributions

Inherits:
Fog::Collection
  • Object
show all
Includes:
DistributionsHelper
Defined in:
lib/fog/aws/models/cdn/distributions.rb

Instance Method Summary collapse

Methods included from DistributionsHelper

#all, #each_distribution, #get

Instance Method Details

#get_distribution(dist_id) ⇒ Object



16
17
18
# File 'lib/fog/aws/models/cdn/distributions.rb', line 16

def get_distribution(dist_id)
  service.get_distribution(dist_id)
end

#list_distributions(options = {}) ⇒ Object



20
21
22
# File 'lib/fog/aws/models/cdn/distributions.rb', line 20

def list_distributions(options = {})
  service.get_distribution_list(options)
end