lib/totter/client/decisions.rb in totter-0.3.7 vs lib/totter/client/decisions.rb in totter-0.3.8
- old
+ new
@@ -29,10 +29,10 @@
# @param user_id [Numeric] A Seesaw user id
# @return [Hashie::Mash]
# @example
# Totter.clone_decision(1, 2)
def clone_decision(user_id, decision_id, question = nil)
- post("users/#{user_id}/decisions/#{decision_id}/clone", question: question).body
+ post("users/#{user_id}/decisions/#{decision_id}/clone", :question => question).body
end
# Publish a decision
#
# @param user_id [Numeric] The decision's user id