lib/railway_ipc/response.rb in railway-ipc-0.1.7 vs lib/railway_ipc/response.rb in railway-ipc-1.0.0

- old
+ new

@@ -1,8 +1,11 @@ +# frozen_string_literal: true + module RailwayIpc class Response attr_reader :body, :success - def initialize(message, success:true) + + def initialize(message, success: true) @body = message @success = success end end end