Method: RTM::Note.update

Defined in:
lib/rtmilk/api/notes.rb

.update(arg) ⇒ Object



130
131
132
133
134
135
136
137
# File 'lib/rtmilk/api/notes.rb', line 130

def Note.update(arg)
   ret, transaction = RTM::Tasks::Notes::Edit.new(
      RTM::API.token, 
      RTM::Timeline.new(RTM::API.token).to_s,
      arg[:id],
      arg[:title],
      arg[:body]).invoke
end