ruby-oembed/ruby-oembed

View on GitHub
lib/oembed/response/rich.rb

Summary

Maintainability
A
0 mins
Test Coverage
module OEmbed
  class Response
    # A Response used for representing rich HTML content that does not fall under
    # one of the other Response categories.
    class Rich < self
      
      private
      
      # See {section 2.3.4.1 of the oEmbed spec}[http://oembed.com/#section2.3]
      def must_override
        %w{
          html width height
        } + super
      end
    end
  end
end