Sha256: 8a82c6c630b35233b39c2b16c9954a324e04e57ad32ace45c1cc2a20de1385fb

Contents?: true

Size: 198 Bytes

Versions: 16

Compression:

Stored size: 198 Bytes

Contents

module EndState
  module Messages
    def add_error(message)
      object.failure_messages << message
    end

    def add_success(message)
      object.success_messages << message
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
end_state-1.1.2 lib/end_state/messages.rb
end_state-1.1.1 lib/end_state/messages.rb
end_state-1.1.0 lib/end_state/messages.rb
end_state-1.0.2 lib/end_state/messages.rb
end_state-1.0.1 lib/end_state/messages.rb
end_state-1.0.0 lib/end_state/messages.rb
end_state-0.12.0 lib/end_state/messages.rb
end_state-0.11.0 lib/end_state/messages.rb
end_state-0.10.1 lib/end_state/messages.rb
end_state-0.10.0 lib/end_state/messages.rb
end_state-0.9.0 lib/end_state/messages.rb
end_state-0.4.0 lib/end_state/messages.rb
end_state-0.3.2 lib/end_state/messages.rb
end_state-0.3.1 lib/end_state/messages.rb
end_state-0.3.0 lib/end_state/messages.rb
end_state-0.2.0 lib/end_state/messages.rb