Class: Fog::CDN::AWS::StreamingDistributions

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

Instance Attribute Summary

Attributes inherited from Fog::Collection

#connection

Instance Method Summary collapse

Methods included from DistributionsHelper

#all, #each, #get

Methods inherited from Fog::Collection

#clear, #create, #destroy, #initialize, #inspect, #load, model, #model, #new, #reload, #table, #to_json

Methods included from Attributes::ClassMethods

#_load, #aliases, #attribute, #attributes, #identity, #ignore_attributes, #ignored_attributes

Methods included from Attributes::InstanceMethods

#_dump, #attributes, #dup, #identity, #identity=, #merge_attributes, #new_record?, #requires, #requires_one

Constructor Details

This class inherits a constructor from Fog::Collection

Instance Method Details

#get_distribution(dist_id) ⇒ Object



18
19
20
# File 'lib/fog/aws/models/cdn/streaming_distributions.rb', line 18

def get_distribution(dist_id)
  connection.get_streaming_distribution(dist_id)
end

#list_distributions(options = {}) ⇒ Object



22
23
24
# File 'lib/fog/aws/models/cdn/streaming_distributions.rb', line 22

def list_distributions(options = {})
  connection.get_streaming_distribution_list(options)
end