Class: Pact::Consumer::Configuration::ServiceProvider
- Inherits:
-
Object
- Object
- Pact::Consumer::Configuration::ServiceProvider
- Extended by:
- DSL
- Defined in:
- lib/pact/consumer/configuration.rb
Instance Attribute Summary collapse
-
#consumer_name ⇒ Object
Returns the value of attribute consumer_name.
-
#name ⇒ Object
Returns the value of attribute name.
-
#service ⇒ Object
Returns the value of attribute service.
Instance Method Summary collapse
- #finalize ⇒ Object
-
#initialize(name, consumer_name) ⇒ ServiceProvider
constructor
A new instance of ServiceProvider.
Methods included from DSL
Constructor Details
#initialize(name, consumer_name) ⇒ ServiceProvider
Returns a new instance of ServiceProvider.
73 74 75 76 77 |
# File 'lib/pact/consumer/configuration.rb', line 73 def initialize name, consumer_name @name = name @service = nil @consumer_name = consumer_name end |
Instance Attribute Details
#consumer_name ⇒ Object
Returns the value of attribute consumer_name.
71 72 73 |
# File 'lib/pact/consumer/configuration.rb', line 71 def consumer_name @consumer_name end |
#name ⇒ Object
Returns the value of attribute name.
71 72 73 |
# File 'lib/pact/consumer/configuration.rb', line 71 def name @name end |
#service ⇒ Object
Returns the value of attribute service.
71 72 73 |
# File 'lib/pact/consumer/configuration.rb', line 71 def service @service end |
Instance Method Details
#finalize ⇒ Object
85 86 87 |
# File 'lib/pact/consumer/configuration.rb', line 85 def finalize validate end |