lib/socialcastr/like.rb in socialcastr-0.1.0 vs lib/socialcastr/like.rb in socialcastr-0.1.1

- old
+ new

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