Class: Pact::Message::Consumer::Configuration::MessageConsumer
- Inherits:
-
Object
- Object
- Pact::Message::Consumer::Configuration::MessageConsumer
- Extended by:
- DSL
- Defined in:
- lib/pact/message/consumer/configuration/message_consumer.rb
Instance Attribute Summary collapse
-
#builder ⇒ Object
Returns the value of attribute builder.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
- #finalize ⇒ Object
-
#initialize(name) ⇒ MessageConsumer
constructor
A new instance of MessageConsumer.
Constructor Details
#initialize(name) ⇒ MessageConsumer
Returns a new instance of MessageConsumer.
14 15 16 |
# File 'lib/pact/message/consumer/configuration/message_consumer.rb', line 14 def initialize name @name = name end |
Instance Attribute Details
#builder ⇒ Object
Returns the value of attribute builder.
12 13 14 |
# File 'lib/pact/message/consumer/configuration/message_consumer.rb', line 12 def builder @builder end |
#name ⇒ Object
Returns the value of attribute name.
12 13 14 |
# File 'lib/pact/message/consumer/configuration/message_consumer.rb', line 12 def name @name end |
Instance Method Details
#finalize ⇒ Object
24 25 26 27 |
# File 'lib/pact/message/consumer/configuration/message_consumer.rb', line 24 def finalize validate register_consumer_app if @app end |