lib/basecamp3/concerns/parentable.rb in basecamp3-0.1.3 vs lib/basecamp3/concerns/parentable.rb in basecamp3-0.1.4
- old
+ new
@@ -8,10 +8,10 @@
# @return [Basecamp3::Model]
def parent
return nil if @parent.nil?
klass = TypeMapper.map(@parent['type'])
- @mapped_parent ||= klass.new(@bucket)
+ @mapped_parent ||= klass.new(@parent)
end
end
end
-end
\ No newline at end of file
+end