Sha256: a47cddccda919044cc38624d901cde6e1238a946f53794aefd5de87a2a21acde

Contents?: true

Size: 374 Bytes

Versions: 3

Compression:

Stored size: 374 Bytes

Contents

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_code, :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.2.4 lib/ixtlan/models/word.rb
ixtlan-0.2.3 lib/ixtlan/models/word.rb
ixtlan-0.2.2 lib/ixtlan/models/word.rb