lib/socialcastr/like.rb in socialcastr-0.1.3 vs lib/socialcastr/like.rb in socialcastr-0.2.0

- old
+ new

@@ -1,10 +1,6 @@ module Socialcastr class Like < Base - id_element - element :unlikable - element :user, :class => Socialcastr::User - element :"created-at", :as => :created_at def unlikable_by?(api_id) @unlikable && api_id == self.user_id ? true : false end end end