Sha256: 0de2f8e6751a6e20a2963f5dbc2b90d32a2718859b7204a12a4652c6201bbf6b
Contents?: true
Size: 396 Bytes
Versions: 3
Compression:
Stored size: 396 Bytes
Contents
require 'dm-serializer' module Ixtlan module Models class Word < 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ixtlan-0.4.0.pre2 | lib/ixtlan/models/word.rb |
ixtlan-0.4.0.pre | lib/ixtlan/models/word.rb |
ixtlan-0.3.0 | lib/ixtlan/models/word.rb |