Sha256: 0d757308ceef849f12c14cfb427595f4df745f9489bdb1d134145f5221139038

Contents?: true

Size: 379 Bytes

Versions: 5

Compression:

Stored size: 379 Bytes

Contents

module Indieweb
  module PostTypes
    module Identifier
      module Video
        extend Indieweb::PostTypes::Identifier::Base

        class << self
          private

          def identifier_from(data)
            return unless data.key?('video')
            return unless valid_url?(data['video'])

            'video'
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
indieweb-post_types-0.3.2 lib/indieweb/post_types/identifier/video.rb
indieweb-post_types-0.3.1 lib/indieweb/post_types/identifier/video.rb
indieweb-post_types-0.3.0 lib/indieweb/post_types/identifier/video.rb
indieweb-post_types-0.2.0 lib/indieweb/post_types/identifier/video.rb
indieweb-post_types-0.1.0 lib/indieweb/post_types/identifier/video.rb