class RTM::Tasks::Notes::Edit

Public Class Methods

new(token, timeline, note, title, text) click to toggle source
Calls superclass method RTM::API::new
# File lib/rtmilk/api/notes.rb, line 45
def initialize(token, timeline, note, title, text)
   super 'rtm.tasks.notes.edit', token
   @param[:timeline] = timeline
   @param[:note_id] = note
   @param[:note_title] = title
   @param[:note_text] = text
end

Public Instance Methods

parse_result(result) click to toggle source
Calls superclass method RTM::API#parse_result
# File lib/rtmilk/api/notes.rb, line 40
def parse_result(result)
   super
   [result['note'].first, result['transaction'].first]
end