module GoldenFleece::Model::Export

Public Class Methods

included(base) click to toggle source
# File lib/golden_fleece/model/export.rb, line 4
def self.included(base)
  base.class_eval do
    def export_fleece(attribs = self.class.fleece_context.attributes)
      self.class.fleece_context.export self, attribs
    end
  end
end

Public Instance Methods

export_fleece(attribs = self.class.fleece_context.attributes) click to toggle source
# File lib/golden_fleece/model/export.rb, line 6
def export_fleece(attribs = self.class.fleece_context.attributes)
  self.class.fleece_context.export self, attribs
end