Method: SimpleNote#get_note

Defined in:
lib/simplenote.rb

#get_note(key) ⇒ Object



22
23
24
25
# File 'lib/simplenote.rb', line 22

def get_note(key)
  out = self.class.get "/note", :query => request_hash.merge(:key => key), :format => :plain
  out.response.is_a?(Net::HTTPNotFound) ? nil : out
end