Class: Dragonfly::JobEndpoint
Instance Attribute Summary collapse
-
#job ⇒ Object
readonly
Returns the value of attribute job.
Instance Method Summary collapse
- #call(env = {}) ⇒ Object
-
#initialize(job) ⇒ JobEndpoint
constructor
A new instance of JobEndpoint.
- #inspect ⇒ Object
Constructor Details
#initialize(job) ⇒ JobEndpoint
Returns a new instance of JobEndpoint.
6 7 8 |
# File 'lib/dragonfly/job_endpoint.rb', line 6 def initialize(job) @job = job end |
Instance Attribute Details
#job ⇒ Object (readonly)
Returns the value of attribute job.
14 15 16 |
# File 'lib/dragonfly/job_endpoint.rb', line 14 def job @job end |