Class: BreezyPDF::Intercept::Base
- Inherits:
-
Object
- Object
- BreezyPDF::Intercept::Base
- Includes:
- Rack::Request::Env, Rack::Request::Helpers
- Defined in:
- lib/breezy_pdf/intercept/base.rb
Overview
:nodoc
Direct Known Subclasses
Instance Attribute Summary collapse
-
#app ⇒ Object
readonly
Returns the value of attribute app.
-
#env ⇒ Object
readonly
Returns the value of attribute env.
Instance Method Summary collapse
-
#initialize(app, env) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(app, env) ⇒ Base
Returns a new instance of Base.
11 12 13 14 15 |
# File 'lib/breezy_pdf/intercept/base.rb', line 11 def initialize(app, env) @app = app @env = env @start_time = Process.clock_gettime(Process::CLOCK_MONOTONIC) end |
Instance Attribute Details
#app ⇒ Object (readonly)
Returns the value of attribute app.
9 10 11 |
# File 'lib/breezy_pdf/intercept/base.rb', line 9 def app @app end |
#env ⇒ Object (readonly)
Returns the value of attribute env.
9 10 11 |
# File 'lib/breezy_pdf/intercept/base.rb', line 9 def env @env end |