Permalink
Browse files

Merge pull request #121 from timols/master

Add missing properties to Comment and Status
  • Loading branch information...
2 parents b004915 + 959ab79 commit 91d68c5b366e280d8c543f61b6c966eee98b3750 @mmangino mmangino committed Sep 14, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −1 lib/mogli/comment.rb
  2. +1 −0 lib/mogli/status.rb
View
@@ -1,7 +1,7 @@
module Mogli
class Comment < Model
- define_properties :id, :message, :created_time, :count, :likes, :can_remove, :message_tags, :user_likes
+ define_properties :id, :message, :created_time, :count, :likes, :can_remove, :message_tags, :user_likes, :like_count
creation_properties :message
hash_populating_accessor :from, "User","Page"
View
@@ -5,5 +5,6 @@ class Status < Model
hash_populating_accessor :from, "User", "Page"
has_association :comments, "Comment"
+ has_association :place, "Place"
end
end

0 comments on commit 91d68c5

Please sign in to comment.