class Seatbelt::Synthesizers::Mongoid
Public: A Synthesizer
that syncs a Mongoid::Document based implementation class with a Seatbelt::Document
proxy object
Public Instance Methods
synthesizable_attributes()
click to toggle source
The attributes to synthesize as Array.
# File lib/seatbelt/synthesizers/mongoid.rb, line 10 def synthesizable_attributes synthesizable_object.fields.keys.map(&:to_sym) end