Sha256: 0fe7597431672df1954a048c8dbe4513434922aa502289e71d6f110cb03017b3

Contents?: true

Size: 606 Bytes

Versions: 6

Compression:

Stored size: 606 Bytes

Contents

# frozen_string_literal: true

module ConvenientService
  module Service
    module Plugins
      module HasResult
        module Constants
          SUCCESS_STATUS = :success
          FAILURE_STATUS = :failure
          ERROR_STATUS = :error

          DEFAULT_SUCCESS_DATA = {}
          DEFAULT_FAILURE_DATA = {}
          ERROR_DATA = {}

          SUCCESS_MESSAGE = ""
          DEFAULT_FAILURE_MESSAGE = ""
          DEFAULT_ERROR_MESSAGE = ""

          SUCCESS_CODE = :success
          FAILURE_CODE = :failure
          DEFAULT_ERROR_CODE = :default_error
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
convenient_service-0.12.0 lib/convenient_service/service/plugins/has_result/constants.rb
convenient_service-0.11.0 lib/convenient_service/service/plugins/has_result/constants.rb
convenient_service-0.10.1 lib/convenient_service/service/plugins/has_result/constants.rb
convenient_service-0.10.0 lib/convenient_service/service/plugins/has_result/constants.rb
convenient_service-0.9.0 lib/convenient_service/service/plugins/has_result/constants.rb
convenient_service-0.8.0 lib/convenient_service/service/plugins/has_result/constants.rb