Sha256: 58a949aef1e266fb0b4117de40987405fc522632871f2184aab27bec6b381298

Contents?: true

Size: 225 Bytes

Versions: 22

Compression:

Stored size: 225 Bytes

Contents

# frozen_string_literal: true

module Grape
  module Exceptions
    class MissingOption < Base
      def initialize(option)
        super(message: compose_message(:missing_option, option: option))
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
grape-2.2.0 lib/grape/exceptions/missing_option.rb
grape-2.1.3 lib/grape/exceptions/missing_option.rb
grape-2.1.2 lib/grape/exceptions/missing_option.rb
grape-2.1.1 lib/grape/exceptions/missing_option.rb
grape-2.1.0 lib/grape/exceptions/missing_option.rb
grape-2.0.0 lib/grape/exceptions/missing_option.rb
grape-1.8.0 lib/grape/exceptions/missing_option.rb
grape-1.7.1 lib/grape/exceptions/missing_option.rb
grape-1.7.0 lib/grape/exceptions/missing_option.rb
grape-1.6.2 lib/grape/exceptions/missing_option.rb
grape-1.6.1 lib/grape/exceptions/missing_option.rb
grape-1.6.0 lib/grape/exceptions/missing_option.rb
grape-1.5.3 lib/grape/exceptions/missing_option.rb
grape-1.5.2 lib/grape/exceptions/missing_option.rb
grape-1.5.1 lib/grape/exceptions/missing_option.rb
grape-1.5.0 lib/grape/exceptions/missing_option.rb
grape-extra_validators-2.0.0 vendor/bundle/ruby/2.6.0/gems/grape-1.4.0/lib/grape/exceptions/missing_option.rb
grape-1.4.0 lib/grape/exceptions/missing_option.rb
grape-1.3.3 lib/grape/exceptions/missing_option.rb
grape-1.3.2 lib/grape/exceptions/missing_option.rb