Class: Pact::Message::Consumer::Configuration::MessageProvider
- Inherits:
-
Object
- Object
- Pact::Message::Consumer::Configuration::MessageProvider
- Extended by:
- DSL
- Defined in:
- lib/pact/message/consumer/configuration/message_provider.rb
Instance Attribute Summary collapse
-
#builder ⇒ Object
Returns the value of attribute builder.
-
#consumer_name ⇒ Object
Returns the value of attribute consumer_name.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
- #finalize ⇒ Object
-
#initialize(name, consumer_name) ⇒ MessageProvider
constructor
A new instance of MessageProvider.
Constructor Details
#initialize(name, consumer_name) ⇒ MessageProvider
Returns a new instance of MessageProvider.
14 15 16 17 18 |
# File 'lib/pact/message/consumer/configuration/message_provider.rb', line 14 def initialize name, consumer_name @name = name @builder = nil @consumer_name = consumer_name end |
Instance Attribute Details
#builder ⇒ Object
Returns the value of attribute builder.
12 13 14 |
# File 'lib/pact/message/consumer/configuration/message_provider.rb', line 12 def builder @builder end |
#consumer_name ⇒ Object
Returns the value of attribute consumer_name.
12 13 14 |
# File 'lib/pact/message/consumer/configuration/message_provider.rb', line 12 def consumer_name @consumer_name end |
#name ⇒ Object
Returns the value of attribute name.
12 13 14 |
# File 'lib/pact/message/consumer/configuration/message_provider.rb', line 12 def name @name end |
Instance Method Details
#finalize ⇒ Object
30 31 32 |
# File 'lib/pact/message/consumer/configuration/message_provider.rb', line 30 def finalize validate end |