Module: DeliveryHelper
- Defined in:
- app/helpers/delivery_helper.rb
Overview
Helper methods for delivering content in your views.
Instance Method Summary (collapse)
-
- (Object) deliver(resource, options = {})
Takes a deliverable resource, loops through its contexts and returns the resulting output.
Instance Method Details
- (Object) deliver(resource, options = {})
Takes a deliverable resource, loops through its contexts and returns the resulting output.
11 12 13 |
# File 'app/helpers/delivery_helper.rb', line 11 def deliver(resource, = {}) Transit::Delivery.new(resource, self, ).deliver end |