lib/yammer/thread.rb in yammer-client-0.1.2 vs lib/yammer/thread.rb in yammer-client-0.1.3
- old
+ new
@@ -31,10 +31,10 @@
@people
end
def messages
@messages = {}
- result = Yammer.messages_in_thread(self.id)
+ result = api_handler.messages_in_thread(self.id)
msgs = result.body[:messages].each do |message|
msg = Yammer::Message.new(message)
@messages["#{msg.id}"] = msg
end
@messages
\ No newline at end of file