class Lita::Interactors::BaseInteractor

Base interactors behaviour

Attributes

error[R]
handler[R]
message[R]

Public Instance Methods

repository() click to toggle source
# File lib/lita/interactors/base_interactor.rb, line 14
def repository
  Repositories::Redis.new(handler.redis)
end
success?() click to toggle source
# File lib/lita/interactors/base_interactor.rb, line 10
def success?
  error.nil?
end