Sha256: f8bbfa5e5d4e4e30e26da173037c2ff477ea34edb09acc8d1d9948f786ab369d

Contents?: true

Size: 849 Bytes

Versions: 22

Compression:

Stored size: 849 Bytes

Contents

require 'fog/core/collection'
require 'fog/aws/models/cdn/streaming_distribution'
require 'fog/aws/models/cdn/distributions_helper'

module Fog
  module CDN
    class AWS
      class StreamingDistributions < Fog::Collection
        include Fog::CDN::AWS::DistributionsHelper

        model Fog::CDN::AWS::StreamingDistribution

        attribute :marker,    :aliases => 'Marker'
        attribute :max_items, :aliases => 'MaxItems'
        attribute :is_truncated,    :aliases => 'IsTruncated'

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

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

        alias_method :each_distribution_this_page, :each
        alias_method :each, :each_distribution
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 5 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/lib/fog/aws/models/cdn/streaming_distributions.rb
fog-aws-0.1.1 lib/fog/aws/models/cdn/streaming_distributions.rb
fog-aws-0.1.0 lib/fog/aws/models/cdn/streaming_distributions.rb
fog-aws-0.0.8 lib/fog/aws/models/cdn/streaming_distributions.rb
fog-aws-0.0.7 lib/fog/aws/models/cdn/streaming_distributions.rb
fog-aws-0.0.6 lib/fog/aws/models/cdn/streaming_distributions.rb
fog-aws-0.0.5 lib/fog/aws/models/cdn/streaming_distributions.rb
fog-1.26.0 lib/fog/aws/models/cdn/streaming_distributions.rb
fog-1.25.0 lib/fog/aws/models/cdn/streaming_distributions.rb
nsidc-fog-1.24.1 lib/fog/aws/models/cdn/streaming_distributions.rb
fog-1.24.0 lib/fog/aws/models/cdn/streaming_distributions.rb
ns-fog-1.22.11 lib/fog/aws/models/cdn/streaming_distributions.rb
ns-fog-1.22.10 lib/fog/aws/models/cdn/streaming_distributions.rb
ns-fog-1.22.9 lib/fog/aws/models/cdn/streaming_distributions.rb
ns-fog-1.22.8 lib/fog/aws/models/cdn/streaming_distributions.rb
ns-fog-1.22.7 lib/fog/aws/models/cdn/streaming_distributions.rb
ns-fog-1.22.6 lib/fog/aws/models/cdn/streaming_distributions.rb
fog-1.23.0 lib/fog/aws/models/cdn/streaming_distributions.rb
ns-fog-1.22.4 lib/fog/aws/models/cdn/streaming_distributions.rb
ns-fog-1.22.3 lib/fog/aws/models/cdn/streaming_distributions.rb