Class: EWS::ShapeBuilder
- Inherits:
-
Object
- Object
- EWS::ShapeBuilder
- Defined in:
- lib/ews/builders/shape_builder.rb
Instance Method Summary collapse
-
#attachment_shape! ⇒ Object
AttachmentShape.
- #folder_shape! ⇒ Object
-
#initialize(action_node, opts = {}) ⇒ ShapeBuilder
constructor
A new instance of ShapeBuilder.
- #item_shape! ⇒ Object
Constructor Details
#initialize(action_node, opts = {}) ⇒ ShapeBuilder
Returns a new instance of ShapeBuilder.
3 4 5 6 |
# File 'lib/ews/builders/shape_builder.rb', line 3 def initialize(action_node, opts = {}) @action_node, @opts = action_node, opts @shape_node = nil end |
Instance Method Details
#attachment_shape! ⇒ Object
AttachmentShape
37 38 39 40 41 42 |
# File 'lib/ews/builders/shape_builder.rb', line 37 def set_shape_node 'tns:AttachmentShape' include_mime_content! body_type! additional_properties! end |
#folder_shape! ⇒ Object
24 25 26 27 28 |
# File 'lib/ews/builders/shape_builder.rb', line 24 def folder_shape! set_shape_node 'tns:FolderShape' base_shape! additional_properties! end |
#item_shape! ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/ews/builders/shape_builder.rb', line 13 def item_shape! set_shape_node 'tns:ItemShape' base_shape! include_mime_content! body_type! additional_properties! end |