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

#service

Instance Method Summary collapse

Methods included from DistributionsHelper

#all, #each_distribution, #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 Fog::Core::DeprecatedConnectionAccessors

#connection, #connection=, #prepare_service_value

Methods included from Attributes::InstanceMethods

#_dump, #attributes, #dup, #identity, #identity=, #merge_attributes, #new_record?, #persisted?, #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)
  service.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 = {})
  service.get_streaming_distribution_list(options)
end