Class: WSDL::Reader::Message
- Inherits:
-
Object
- Object
- WSDL::Reader::Message
- Defined in:
- lib/wsdl-reader/message.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#parts ⇒ Object
readonly
Returns the value of attribute parts.
Instance Method Summary collapse
- #element ⇒ Object
-
#initialize(element) ⇒ Message
constructor
A new instance of Message.
Constructor Details
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
34 35 36 |
# File 'lib/wsdl-reader/message.rb', line 34 def name @name end |
#parts ⇒ Object (readonly)
Returns the value of attribute parts.
33 34 35 |
# File 'lib/wsdl-reader/message.rb', line 33 def parts @parts end |
Instance Method Details
#element ⇒ Object
43 44 45 |
# File 'lib/wsdl-reader/message.rb', line 43 def element parts.map { |_, hash| hash[:element] }.first end |