lib/simplenote.rb in simplenote-0.2.0 vs lib/simplenote.rb in simplenote-0.2.1

- old
+ new

@@ -18,10 +18,10 @@ def get_index self.class.get "/index", :query => request_hash, :format => :json end def get_note(key) - out = self.class.get "/note", :query => request_hash.merge(:key => key) + out = self.class.get "/note", :query => request_hash.merge(:key => key), :format => :plain out.response.is_a?(Net::HTTPNotFound) ? nil : out end def delete_note(key) out = self.class.get "/delete", :query => request_hash.merge(:key => key)