lib/moonshado/sms.rb in moonshado-sms-0.4.0 vs lib/moonshado/sms.rb in moonshado-sms-0.4.1

- old
+ new

@@ -12,9 +12,15 @@ self.sender = Sender.new(configuration) if configuration.auto_register_keywords Moonshado::Sms::Keywords.register_keywords end end + + def find(id) + response = sender.get(configuration.sms_uri + "/#{id}") + + Yajl::Parser.new.parse(response.body) + end end def initialize(number = "", message = "") @number = number @message = message \ No newline at end of file