lib/sm/client.rb
def post_move_message(id, folder_id)
      custom_headers = token_headers.merge('Content-Type' => 'application/json')
      response = perform(:post, "message/#{id}/move/tofolder/#{folder_id}", nil, custom_headers)

      response.nil? ? nil : response.status
    end
##
# Move a message to a given folder
#
# @param id [Fixnum] the {Message} id
# @param folder_id [Fixnum] the {Folder} id
# @return [Fixnum] the response status code
#
Move a message to a given folder
Move a message to a given folder
def post_move_message(id, folder_id)
      custom_headers = token_headers.merge('Content-Type' => 'application/json')
      response = perform(:post, "message/#{id}/move/tofolder/#{folder_id}", nil, custom_headers)
      response.nil? ? nil : response.status
    end
def post_move_message ( id , folder_id ) custom_headers = token_headers . merge ( 'Content-Type' => 'application/json' ) response = perform ( :post , "message/#{id}/move/tofolder/#{folder_id}" , nil , custom_headers ) response . nil? ? nil : response . status end
Move a message to a given folder
Move a message to a given folder
the response status code
the response status code
Fixnum
id
the {Message} id
the { Message } id
folder_id
the {Folder} id
the { Folder } id