Class: RExchange::DavMoveRequest

Inherits:
ExchangeRequest show all
Defined in:
lib/rexchange/dav_move_request.rb

Overview

Used to move entities to different locations in the accessable mailbox.

Constant Summary collapse

METHOD =
'MOVE'
REQUEST_HAS_BODY =
false
RESPONSE_HAS_BODY =
false

Class Method Summary collapse

Class Method Details

.execute(credentials, source, destination) ⇒ Object



10
11
12
13
14
15
16
17
18
19
# File 'lib/rexchange/dav_move_request.rb', line 10

def self.execute(credentials, source, destination)
  options = {
    :headers => {
    'Destination' => destination
    },
    :path => source
  }
  
  super credentials, options
end