Class: Balboa::Interactor::InteractorWrapper
- Inherits:
-
Object
- Object
- Balboa::Interactor::InteractorWrapper
- Defined in:
- lib/balboa/interactor/interactor_wrapper.rb
Instance Method Summary collapse
-
#initialize(interactor) ⇒ InteractorWrapper
constructor
A new instance of InteractorWrapper.
- #last ⇒ Object
- #options ⇒ Object
- #punch(date) ⇒ Object
Constructor Details
#initialize(interactor) ⇒ InteractorWrapper
Returns a new instance of InteractorWrapper.
6 7 8 |
# File 'lib/balboa/interactor/interactor_wrapper.rb', line 6 def initialize(interactor) @interactor = interactor end |
Instance Method Details
#last ⇒ Object
14 15 16 |
# File 'lib/balboa/interactor/interactor_wrapper.rb', line 14 def last @interactor.last end |
#options ⇒ Object
18 19 20 |
# File 'lib/balboa/interactor/interactor_wrapper.rb', line 18 def @interactor. end |
#punch(date) ⇒ Object
10 11 12 |
# File 'lib/balboa/interactor/interactor_wrapper.rb', line 10 def punch(date) @interactor.punch(date) end |