Class: ODDB::Html::View::PayPal::Collect
- Defined in:
- lib/oddb/html/view/paypal/collect.rb
Constant Summary collapse
- CONTENT =
CollectComposite
Constants inherited from Template
Template::COMPONENTS, Template::CSS_ID_MAP, Template::DOJO_DEBUG, Template::DOJO_PARSE_WIDGETS, Template::DOJO_REQUIRE, Template::FOOT, Template::HEAD, Template::HTTP_HEADERS
Instance Method Summary collapse
Methods inherited from Template
Instance Method Details
#http_headers ⇒ Object
71 72 73 74 75 76 77 78 79 |
# File 'lib/oddb/html/view/paypal/collect.rb', line 71 def http_headers headers = super if(@model && !@model.status) args = { :invoice => @model.id } url = @lookandfeel._event_url(:collect, args) headers.store('Refresh', "10; URL=#{url}") end headers end |