Class: PactBroker::Api::Decorators::DecoratorContextCreator
- Inherits:
-
Object
- Object
- PactBroker::Api::Decorators::DecoratorContextCreator
- Defined in:
- lib/pact_broker/api/decorators/decorator_context_creator.rb
Class Method Summary collapse
Class Method Details
.call(resource, options) ⇒ Object
7 8 9 |
# File 'lib/pact_broker/api/decorators/decorator_context_creator.rb', line 7 def self.call(resource, ) Decorators::DecoratorContext.new(resource.base_url, resource.resource_url, resource.request.env, ) end |