Sha256: be911a2c6bde66e267dda4740ecfb6f617824e18d59aeb35a5bcd270f14259df

Contents?: true

Size: 353 Bytes

Versions: 2

Compression:

Stored size: 353 Bytes

Contents

module Pageflow
  module EmbeddedVideo
    class Configuration

      # White list of URL prefixes (including protocol) of embedded videos.
      # @return [Array<String>]
      attr_reader :supported_hosts

      def initialize
        @supported_hosts = %w(https://www.youtube.com http://www.youtube.com http://vimeo.com)
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pageflow-embedded-video-0.1.1 lib/pageflow/embedded_video/configuration.rb
pageflow-embedded-video-0.1.0 lib/pageflow/embedded_video/configuration.rb