lib/yaks/mapper.rb in yaks-0.8.3 vs lib/yaks/mapper.rb in yaks-0.9.0
- old
+ new
@@ -1,9 +1,10 @@
module Yaks
class Mapper
extend Configurable
- def_forward :type => :with_type
+ def_set :type
+
def_forward :attributes => :add_attributes
def_forward :append_to
def_add :link, create: Link, append_to: :links
def_add :has_one, create: HasOne, append_to: :associations