lib/totter/client/users.rb in totter-0.3.1 vs lib/totter/client/users.rb in totter-0.3.2
- old
+ new
@@ -39,10 +39,10 @@
# @option preferences [Boolean] :notification_other_votes Notify using throttled notifier when non-invited users vote on your post
# @option preferences [Boolean] :notification_after_votes Notify when other_user votes after user has already voted on a decision
# @option preferences [Boolean] :notification_following Notify when other_user starts follwing user
def update_me(options = {}, preferences = {})
data = {
- user: options.merge({preferences: preferences})
+ :user => options.merge({:preferences => preferences})
}
put("me", data).body
end
# Follow a user.