example/config/initializers/flagsmith.rb in flagsmith-3.0.0 vs example/config/initializers/flagsmith.rb in flagsmith-3.0.1

- old
+ new

@@ -1,9 +1,7 @@ $flagsmith = Flagsmith::Client.new( enable_local_evaluation: true, environment_refresh_interval_seconds: 60, default_flag_handler: lambda { |feature_name| - Flagsmith::Flag.new( - feature_name: feature_name, enabled: false, value: {}.to_json, feature_id: nil - ) + Flagsmith::Flags::DefaultFlag.new(enabled: false, value: {}.to_json) } )