Sha256: dab27417ede562e3d85460ef5f83c88a1be0d832643bc85ce7429e6376cb7039

Contents?: true

Size: 293 Bytes

Versions: 101

Compression:

Stored size: 293 Bytes

Contents

module RestfulResource
  class ParameterMissingError < StandardError
    def initialize(missing_parameters)
      @missing_parameters = missing_parameters
    end

    def message
      "You must pass values for the following parameters: [#{@missing_parameters.join(', ')}]"
    end
  end
end

Version data entries

101 entries across 101 versions & 1 rubygems

Version Path
restful_resource-2.18.1 lib/restful_resource/parameter_missing_error.rb
restful_resource-2.18.0 lib/restful_resource/parameter_missing_error.rb
restful_resource-2.17.0 lib/restful_resource/parameter_missing_error.rb
restful_resource-2.16.0 lib/restful_resource/parameter_missing_error.rb
restful_resource-2.15.0 lib/restful_resource/parameter_missing_error.rb
restful_resource-2.14.0 lib/restful_resource/parameter_missing_error.rb
restful_resource-2.13.4 lib/restful_resource/parameter_missing_error.rb
restful_resource-2.13.3 lib/restful_resource/parameter_missing_error.rb
restful_resource-2.13.2 lib/restful_resource/parameter_missing_error.rb
restful_resource-2.13.1 lib/restful_resource/parameter_missing_error.rb
restful_resource-2.13.0 lib/restful_resource/parameter_missing_error.rb
restful_resource-2.12.1 lib/restful_resource/parameter_missing_error.rb
restful_resource-2.12.0 lib/restful_resource/parameter_missing_error.rb
restful_resource-2.11.0 lib/restful_resource/parameter_missing_error.rb
restful_resource-2.10.3 lib/restful_resource/parameter_missing_error.rb
restful_resource-2.10.1 lib/restful_resource/parameter_missing_error.rb
restful_resource-2.10.0 lib/restful_resource/parameter_missing_error.rb
restful_resource-2.9.1 lib/restful_resource/parameter_missing_error.rb
restful_resource-2.8.0 lib/restful_resource/parameter_missing_error.rb
restful_resource-2.7.0 lib/restful_resource/parameter_missing_error.rb