Sha256: 3e672d1c7ca35172a8ab0d946cf4bcb0ba65a080c58a5c42429c08309367312d

Contents?: true

Size: 642 Bytes

Versions: 4

Compression:

Stored size: 642 Bytes

Contents

# frozen_string_literal: true

##
#
#
module ConvenientService
  module Examples
    module Standard
      module V1
        class RequestParams
          module Utils
            module Integer
              ##
              # TODO: Specs.
              #
              class SafeParse < ConvenientService::Command
                attr_reader :object

                def initialize(object)
                  @object = object
                end

                def call
                  ::Kernel.Integer(object, exception: false)
                end
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
convenient_service-0.17.0 lib/convenient_service/examples/standard/v1/request_params/utils/integer/safe_parse.rb
convenient_service-0.16.0 lib/convenient_service/examples/standard/v1/request_params/utils/integer/safe_parse.rb
convenient_service-0.15.0 lib/convenient_service/examples/standard/v1/request_params/utils/integer/safe_parse.rb
convenient_service-0.14.0 lib/convenient_service/examples/standard/v1/request_params/utils/integer/safe_parse.rb