Sha256: 3aab0b742d04bdaad7ece38292400ec5e6940da0074265fc952cc1c81ad1aaa4

Contents?: true

Size: 410 Bytes

Versions: 7

Compression:

Stored size: 410 Bytes

Contents

require 'dm-serializer'
module Ixtlan
  module Models
    class Word 

      include Ixtlan::Models::I18nText

      alias :to_x :to_xml_document
      def to_xml_document(opts, doc = nil)
        opts.merge!({:element_name => "word", :exclude => [:id, :locale_id, :current, :previous, :updated_at, :approved_at, :updated_by_id, :approved_by_id, :version]})
        to_x(opts, doc)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ixtlan-0.4.3 lib/ixtlan/models/word.rb
ixtlan-0.4.2 lib/ixtlan/models/word.rb
ixtlan-0.4.1 lib/ixtlan/models/word.rb
ixtlan-0.4.0 lib/ixtlan/models/word.rb
ixtlan-0.4.0.pre5 lib/ixtlan/models/word.rb
ixtlan-0.4.0.pre4 lib/ixtlan/models/word.rb
ixtlan-0.4.0.pre3 lib/ixtlan/models/word.rb