Sha256: 2e5c8c9adb0c044785c34bad9af61f9b55bdf3c0c760f251f401dce773c7ae88

Contents?: true

Size: 632 Bytes

Versions: 10

Compression:

Stored size: 632 Bytes

Contents

# coding: utf-8

module ONIX
  class MediaFile
    include ROXML
    include ONIX::Common

    xml_name "MediaFile"

    xml_accessor :media_file_type_code, :from => "MediaFileTypeCode", :as => Fixnum, :to_xml => ONIX::Formatters.two_digit
    xml_accessor :media_file_format_code, :from => "MediaFileFormatCode", :as => Fixnum, :to_xml => ONIX::Formatters.two_digit
    xml_accessor :image_resolution, :from => "ImageResolution"
    xml_accessor :media_file_link_type_code, :from => "MediaFileLinkTypeCode", :as => Fixnum, :to_xml => ONIX::Formatters.two_digit
    xml_accessor :media_file_link, :from => "MediaFileLink"
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
milkfarm-onix-0.7.7 lib/onix/media_file.rb
onix-0.7.8 lib/onix/media_file.rb
onix-0.7.7 lib/onix/media_file.rb
onix-0.7.6 lib/onix/media_file.rb
onix-0.7.5 lib/onix/media_file.rb
onix-0.7.4 lib/onix/media_file.rb
onix-0.7.2 lib/onix/media_file.rb
onix-0.7.3 lib/onix/media_file.rb
onix-0.7.0 lib/onix/media_file.rb
onix-0.7.1 lib/onix/media_file.rb