Class: Pact::Provider::Configuration::ServiceProviderConfig
- Inherits:
-
Object
- Object
- Pact::Provider::Configuration::ServiceProviderConfig
- Defined in:
- lib/pact/provider/configuration.rb
Instance Method Summary collapse
- #app ⇒ Object
-
#initialize(&app_block) ⇒ ServiceProviderConfig
constructor
A new instance of ServiceProviderConfig.
Constructor Details
#initialize(&app_block) ⇒ ServiceProviderConfig
Returns a new instance of ServiceProviderConfig.
43 44 45 |
# File 'lib/pact/provider/configuration.rb', line 43 def initialize &app_block @app_block = app_block end |
Instance Method Details
#app ⇒ Object
47 48 49 |
# File 'lib/pact/provider/configuration.rb', line 47 def app @app_block.call end |