Class: Balboa::Interactor::InteractorWrapper

Inherits:
Object
  • Object
show all
Defined in:
lib/balboa/interactor/interactor_wrapper.rb

Instance Method Summary collapse

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

#lastObject



14
15
16
# File 'lib/balboa/interactor/interactor_wrapper.rb', line 14

def last
  @interactor.last
end

#optionsObject



18
19
20
# File 'lib/balboa/interactor/interactor_wrapper.rb', line 18

def options
  @interactor.options
end

#punch(date) ⇒ Object



10
11
12
# File 'lib/balboa/interactor/interactor_wrapper.rb', line 10

def punch(date)
  @interactor.punch(date)
end