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-1.4.3 lib/restful_resource/parameter_missing_error.rb
restful_resource-1.4.2 lib/restful_resource/parameter_missing_error.rb
restful_resource-1.4.1 lib/restful_resource/parameter_missing_error.rb
restful_resource-1.4.0 lib/restful_resource/parameter_missing_error.rb
restful_resource-1.3.0 lib/restful_resource/parameter_missing_error.rb
restful_resource-1.2.2 lib/restful_resource/parameter_missing_error.rb
restful_resource-1.2.1 lib/restful_resource/parameter_missing_error.rb
restful_resource-1.2.0 lib/restful_resource/parameter_missing_error.rb
restful_resource-1.1.0 lib/restful_resource/parameter_missing_error.rb
restful_resource-1.0.0 lib/restful_resource/parameter_missing_error.rb
restful_resource-0.10.2 lib/restful_resource/parameter_missing_error.rb
restful_resource-0.10.1 lib/restful_resource/parameter_missing_error.rb
restful_resource-0.10.0 lib/restful_resource/parameter_missing_error.rb
restful_resource-0.9.7 lib/restful_resource/parameter_missing_error.rb
restful_resource-0.9.5 lib/restful_resource/parameter_missing_error.rb
restful_resource-0.9.4 lib/restful_resource/parameter_missing_error.rb
restful_resource-0.9.3 lib/restful_resource/parameter_missing_error.rb
restful_resource-0.9.2 lib/restful_resource/parameter_missing_error.rb
restful_resource-0.9.1 lib/restful_resource/parameter_missing_error.rb
restful_resource-0.9.0 lib/restful_resource/parameter_missing_error.rb