Sha256: b4ebfc750ec17caed16cc96d86f301284322eb1da5774c935f44fc43b4cefebd

Contents?: true

Size: 326 Bytes

Versions: 22

Compression:

Stored size: 326 Bytes

Contents

# frozen_string_literal: true

module Grape
  module Exceptions
    class IncompatibleOptionValues < Base
      def initialize(option1, value1, option2, value2)
        super(message: compose_message(:incompatible_option_values, option1: option1, value1: value1, option2: option2, value2: value2))
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
grape-1.3.1 lib/grape/exceptions/incompatible_option_values.rb
grape-1.3.0 lib/grape/exceptions/incompatible_option_values.rb