Sha256: 980ea58d29b287cc7679ba6ecc9ebcc8138c7fec1c6ca3fa7841356230d8aebc
Contents?: true
Size: 228 Bytes
Versions: 4
Compression:
Stored size: 228 Bytes
Contents
class SignInService < Aldous::Service attr_reader :session, :user def initialize(session, user) @session = session @user = user end def perform session[:user_id] = user.id Result::Success.new end end
Version data entries
4 entries across 4 versions & 1 rubygems