Class: WsdlMapper::SvcDesc::Envelope
- Inherits:
-
Object
- Object
- WsdlMapper::SvcDesc::Envelope
- Defined in:
- lib/wsdl_mapper/svc_desc/envelope.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#header ⇒ Object
Returns the value of attribute header.
Instance Method Summary collapse
-
#initialize(header: nil, body: nil) ⇒ Envelope
constructor
A new instance of Envelope.
Constructor Details
#initialize(header: nil, body: nil) ⇒ Envelope
Returns a new instance of Envelope.
6 7 8 9 |
# File 'lib/wsdl_mapper/svc_desc/envelope.rb', line 6 def initialize(header: nil, body: nil) @header = header @body = body end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
4 5 6 |
# File 'lib/wsdl_mapper/svc_desc/envelope.rb', line 4 def body @body end |
#header ⇒ Object
Returns the value of attribute header.
4 5 6 |
# File 'lib/wsdl_mapper/svc_desc/envelope.rb', line 4 def header @header end |