Sha256: 014d85ba175dd52017f0337afcd31cad4bf59a3c1c545bed9b5776f87685d94b

Contents?: true

Size: 212 Bytes

Versions: 10

Compression:

Stored size: 212 Bytes

Contents

# encoding: utf-8
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

10 entries across 10 versions & 1 rubygems

Version Path
grape-1.0.1 lib/grape/exceptions/missing_option.rb
grape-1.0.0 lib/grape/exceptions/missing_option.rb
grape-0.19.2 lib/grape/exceptions/missing_option.rb
grape-0.19.1 lib/grape/exceptions/missing_option.rb
grape-0.19.0 lib/grape/exceptions/missing_option.rb
grape-0.18.0 lib/grape/exceptions/missing_option.rb
grape-0.17.0 lib/grape/exceptions/missing_option.rb
grape-0.16.2 lib/grape/exceptions/missing_option.rb
grape-0.16.1 lib/grape/exceptions/missing_option.rb
grape-0.15.0 lib/grape/exceptions/missing_option.rb