Class: Eventboss::Middleware::Entry
- Inherits:
-
Object
- Object
- Eventboss::Middleware::Entry
- Defined in:
- lib/eventboss/middleware.rb
Instance Attribute Summary collapse
-
#klass ⇒ Object
readonly
Returns the value of attribute klass.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
- #build ⇒ Object
-
#initialize(klass, options) ⇒ Entry
constructor
A new instance of Entry.
Constructor Details
#initialize(klass, options) ⇒ Entry
Returns a new instance of Entry.
47 48 49 50 |
# File 'lib/eventboss/middleware.rb', line 47 def initialize(klass, ) @klass = klass @options = end |
Instance Attribute Details
#klass ⇒ Object (readonly)
Returns the value of attribute klass.
45 46 47 |
# File 'lib/eventboss/middleware.rb', line 45 def klass @klass end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
45 46 47 |
# File 'lib/eventboss/middleware.rb', line 45 def @options end |
Instance Method Details
#build ⇒ Object
52 53 54 |
# File 'lib/eventboss/middleware.rb', line 52 def build @klass.new() end |