Class: EncodingDotCom::ImageFormat

Inherits:
Format
  • Object
show all
Defined in:
lib/encoding_dot_com/image_format.rb

Instance Method Summary collapse

Methods inherited from Format

allowed_attributes, boolean_attributes, #build_xml, create

Constructor Details

#initialize(attributes = {}) ⇒ ImageFormat

Returns a new instance of ImageFormat.



6
7
8
9
# File 'lib/encoding_dot_com/image_format.rb', line 6

def initialize(attributes={})
  @attributes = attributes.merge("output" => "image")
  validate_attributes      
end