Parent

Methods

Class/Module Index [+]

Quicksearch

Fog::CDN::AWS::StreamingDistribution

Constants

CONFIG

items part of DistributionConfig

Public Class Methods

new(new_attributes = {}) click to toggle source
# File lib/fog/aws/models/cdn/streaming_distribution.rb, line 28
def initialize(new_attributes = {})
  super(distribution_config_to_attributes(new_attributes))
end

Public Instance Methods

save() click to toggle source
# File lib/fog/aws/models/cdn/streaming_distribution.rb, line 32
def save
  requires_one :s3_origin
  options = attributes_to_options
  response = identity ? put_distribution_config(identity, etag, options) : post_distribution(options)
  etag = response.headers['ETag']
  merge_attributes(response.body)
  true
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.