lib/zunnit/setup.rb in zunnit-0.0.4 vs lib/zunnit/setup.rb in zunnit-0.1.0
- old
+ new
@@ -13,13 +13,15 @@
:recommendation_tags_for_item => "/recommendation/tags/for_item",
:recommendation_cluster_for_item => "/recommendation/cluster/for_item",
:action_items_add => "/action/items/add",
:action_items_rate => "/action/items/rate",
:action_items_view => "/action/items/view",
- :action_user_follow => "/action/user/follow"
+ :action_user_follow => "/action/user/follow"
}
def self.setup
self.actions = ACTIONS
+
yield self
+ self
end
end