Class: EncodingDotCom::VideoFormat
- Defined in:
- lib/encoding_dot_com/video_format.rb
Overview
:nodoc:
Constant Summary collapse
- ALLOWED_OUTPUT_FORMATS =
%w{flv fl9 wmv 3gp mp4 m4v ipod iphone appletv psp zune mp3 wma}.freeze
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ VideoFormat
constructor
A new instance of VideoFormat.
Methods inherited from Format
allowed_attributes, boolean_attributes, #build_xml, create
Constructor Details
#initialize(attributes = {}) ⇒ VideoFormat
Returns a new instance of VideoFormat.
8 9 10 11 12 13 |
# File 'lib/encoding_dot_com/video_format.rb', line 8 def initialize(attributes={}) @attributes = attributes check_valid_output_format mixin_output_attribute_restrictions validate_attributes end |