Sha256: 2262f95487a698f8b599e6d2821950d17a8c851b418667563efc065806b9b5a7

Contents?: true

Size: 274 Bytes

Versions: 18

Compression:

Stored size: 274 Bytes

Contents

module Hyperdrive
  module Errors
    class MissingRequiredParam < HTTPError
      def initialize(param, http_request_method)
        @message = "The #{param} param is required by #{http_request_method} requests."
        @http_status_code = 400
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
hyperdrive-0.0.25 lib/hyperdrive/errors/missing_required_param.rb
hyperdrive-0.0.24 lib/hyperdrive/errors/missing_required_param.rb
hyperdrive-0.0.23 lib/hyperdrive/errors/missing_required_param.rb
hyperdrive-0.0.22 lib/hyperdrive/errors/missing_required_param.rb
hyperdrive-0.0.21 lib/hyperdrive/errors/missing_required_param.rb
hyperdrive-0.0.20 lib/hyperdrive/errors/missing_required_param.rb
hyperdrive-0.0.19 lib/hyperdrive/errors/missing_required_param.rb
hyperdrive-0.0.18 lib/hyperdrive/errors/missing_required_param.rb
hyperdrive-0.0.17 lib/hyperdrive/errors/missing_required_param.rb
hyperdrive-0.0.16 lib/hyperdrive/errors/missing_required_param.rb
hyperdrive-0.0.15 lib/hyperdrive/errors/missing_required_param.rb
hyperdrive-0.0.14 lib/hyperdrive/errors/missing_required_param.rb
hyperdrive-0.0.13 lib/hyperdrive/errors/missing_required_param.rb
hyperdrive-0.0.12 lib/hyperdrive/errors/missing_required_param.rb
hyperdrive-0.0.11 lib/hyperdrive/errors/missing_required_param.rb
hyperdrive-0.0.10 lib/hyperdrive/errors/missing_required_param.rb
hyperdrive-0.0.9 lib/hyperdrive/errors/missing_required_param.rb
hyperdrive-0.0.8 lib/hyperdrive/errors/missing_required_param.rb