Sha256: 722c05c8517cdb5ee2584a037cd7a70e92853b0f96bb7cb190ecf5b282a83ea2

Contents?: true

Size: 290 Bytes

Versions: 54

Compression:

Stored size: 290 Bytes

Contents

module Braintree
  class ValidationError
    include BaseModule

    attr_reader :attribute, :code, :message

    def initialize(attributes)
      set_instance_variables_from_hash attributes
    end

    def inspect # :nodoc:
      "#<#{self.class} (#{code}) #{message}>"
    end
  end
end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
braintree-2.64.0 lib/braintree/validation_error.rb
braintree-2.63.0 lib/braintree/validation_error.rb
braintree-2.62.0 lib/braintree/validation_error.rb
braintree-2.61.1 lib/braintree/validation_error.rb
braintree-2.61.0 lib/braintree/validation_error.rb
braintree-2.60.0 lib/braintree/validation_error.rb
braintree-2.59.0 lib/braintree/validation_error.rb
braintree-2.58.0 lib/braintree/validation_error.rb
braintree-2.57.0 lib/braintree/validation_error.rb
braintree-2.56.0 lib/braintree/validation_error.rb
braintree-2.55.0 lib/braintree/validation_error.rb
braintree-2.54.0 lib/braintree/validation_error.rb
braintree-2.50.0 lib/braintree/validation_error.rb
braintree-2.49.0 lib/braintree/validation_error.rb
braintree-2.48.1 lib/braintree/validation_error.rb
braintree-2.48.0 lib/braintree/validation_error.rb
braintree-2.47.0 lib/braintree/validation_error.rb
braintree-2.46.0 lib/braintree/validation_error.rb
braintree-2.45.0 lib/braintree/validation_error.rb
braintree-2.44.0 lib/braintree/validation_error.rb