Sha256: ab4199c96d3ce793de0e6a885b49a314a9f5adc840229a467240ee735a3f5dfa

Contents?: true

Size: 227 Bytes

Versions: 7

Compression:

Stored size: 227 Bytes

Contents

# frozen_string_literal: true

module Grape
  class Entity
    class Deprecated < StandardError
      def initialize(msg, spec)
        message = "DEPRECATED #{spec}: #{msg}"

        super(message)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
grape-entity-1.0.1 lib/grape_entity/deprecated.rb
grape-entity-1.0.0 lib/grape_entity/deprecated.rb
grape-entity-0.10.2 lib/grape_entity/deprecated.rb
grape-entity-0.10.1 lib/grape_entity/deprecated.rb
grape-entity-0.10.0 lib/grape_entity/deprecated.rb
grape-entity-0.9.0 lib/grape_entity/deprecated.rb
grape-entity-0.8.2 lib/grape_entity/deprecated.rb