Sha256: 1c8e95a0f36d64a805a5b7576e3c2f08d26c86b0325de5563b1fb391230b0950

Contents?: true

Size: 240 Bytes

Versions: 4

Compression:

Stored size: 240 Bytes

Contents

module FlowsRouterErrorDemo
  class << self
    include Flows::Result::Helpers

    def call
      router.call(ok(some: :data))
    end

    private

    def router
      Flows::Flow::Router::Custom.new(match_err => :end)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
flows-0.6.0 bin/errors_cli/flows_router_error_demo.rb
flows-0.5.1 bin/errors_cli/flows_router_error_demo.rb
flows-0.5.0 bin/errors_cli/flows_router_error_demo.rb
flows-0.4.0 bin/errors_cli/flows_router_error_demo.rb