lib/troo/models/member.rb in troo-0.0.4 vs lib/troo/models/member.rb in troo-0.0.5
- old
+ new
@@ -11,8 +11,16 @@
attribute :bio
attribute :url
attribute :external_member_id
index :external_member_id
+
+ def decorator(options = {})
+ MemberDecorator.new(self, options)
+ end
+
+ def presenter
+ MemberPresenter.new(self)
+ end
end
end