lib/socrates/core/state.rb in socrates-0.1.25 vs lib/socrates/core/state.rb in socrates-0.1.26
- old
+ new
@@ -9,10 +9,10 @@
module Socrates
module Core
module State
attr_reader :data, :adapter, :session, :user
- def initialize(data: StateData.new, adapter:, session:)
+ def initialize(adapter:, session:, data: StateData.new)
@data = data
@adapter = adapter
@session = session
@user = session.user
@next_state_id = nil