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-0.0.5 lib/restful_resource/parameter_missing_error.rb