Sha256: 23ca4bce9d9fb579c3d12c344348f33239e0e5b3d880b57976aa6f121bab23fb

Contents?: true

Size: 295 Bytes

Versions: 9

Compression:

Stored size: 295 Bytes

Contents

# frozen_string_literal: true
# author: Vadim Shaveiko <@vshaveyko>
# :nodoc:
module RailsApiDoc
  module Exception
    class ParamRequired < StandardError

      def initialize(param_name)
        @message = "#{param_name} is marked as required, but has no value."
      end

    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rails_api_documentation-0.3.4 lib/rails_api_doc/exception/param_required.rb
rails_api_documentation-0.3.3 lib/rails_api_doc/exception/param_required.rb
rails_api_documentation-0.3.2 lib/rails_api_doc/exception/param_required.rb
rails_api_documentation-0.3.1 lib/rails_api_doc/exception/param_required.rb
rails_api_documentation-0.3.0 lib/rails_api_doc/exception/param_required.rb
rails_api_documentation-0.2.3 lib/rails_api_doc/exception/param_required.rb
rails_api_documentation-0.2.2 lib/rails_api_doc/exception/param_required.rb
rails_api_documentation-0.2.1 lib/rails_api_doc/exception/param_required.rb
rails_api_documentation-0.2.0 lib/rails_api_doc/exception/param_required.rb