Sha256: 23a6ac726b46f4ca34d89e055bce355222784fceffc2dad5a775133c667b7f26

Contents?: true

Size: 187 Bytes

Versions: 4

Compression:

Stored size: 187 Bytes

Contents

class SignOutService < Aldous::Service
  attr_reader :session

  def initialize(session)
    @session = session
  end

  def perform
    session.destroy
    Result::Success.new
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aldous-1.1.3 examples/basic_todo/app/services/sign_out_service.rb
aldous-1.1.2 examples/basic_todo/app/services/sign_out_service.rb
aldous-1.0.1 examples/basic_todo/app/services/sign_out_service.rb
aldous-1.0.0 examples/basic_todo/app/services/sign_out_service.rb