Sha256: c6ed3ad11e009d10e28d78ee2f7b54b98aadb86d6073b2166484efba93992b79

Contents?: true

Size: 514 Bytes

Versions: 1

Compression:

Stored size: 514 Bytes

Contents

# frozen_string_literal: true

require_relative "factorial/services"
require_relative "factorial/utils"

##
# @internal
#   Usage examples:
#
#   result = ConvenientService::Examples::Standard::V1::Factorial.calculate(10)
#
module ConvenientService
  module Examples
    module Standard
      module V1
        class Factorial
          include ConvenientService::Feature

          entry :calculate do |number|
            Services::Calculate[number: number]
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
convenient_service-0.14.0 lib/convenient_service/examples/standard/v1/factorial.rb