Module: Rews

Defined in:
lib/rews.rb,
lib/rews/item.rb,
lib/rews/util.rb,
lib/rews/view.rb,
lib/rews/shape.rb,
lib/rews/client.rb,
lib/rews/folder.rb,
lib/rews/update.rb,
lib/rews/sort_order.rb,
lib/rews/restriction.rb

Overview

Ruby Exchange Web Services

Defined Under Namespace

Modules: Folder, Item, Shape, Util, View Classes: AppendToItemField, Client, DeleteItemField, Error, Restriction, SetItemField, SortOrder, Update

Constant Summary collapse

WSDL =
File.expand_path("../../Services.wsdl", __FILE__)
SCHEMA_MESSAGES =
"http://schemas.microsoft.com/exchange/services/2006/messages"
SCHEMA_TYPES =
"http://schemas.microsoft.com/exchange/services/2006/types"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.logdevObject

Returns the value of attribute logdev.



18
19
20
# File 'lib/rews.rb', line 18

def logdev
  @logdev
end

Class Method Details

.log {|logger| ... } ⇒ Object

Yields:



28
29
30
31
# File 'lib/rews.rb', line 28

def log
  yield(logger) if logger
  nil
end

.loggerObject



23
24
25
26
# File 'lib/rews.rb', line 23

def logger
  return @logger if @logger
  @logger = Logger.new(logdev) if logdev
end