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.80.1 lib/braintree/validation_error.rb
braintree-2.80.0 lib/braintree/validation_error.rb
braintree-2.79.0 lib/braintree/validation_error.rb
braintree-2.78.0 lib/braintree/validation_error.rb
braintree-2.77.0 lib/braintree/validation_error.rb
braintree-2.76.0 lib/braintree/validation_error.rb
braintree-2.75.0 lib/braintree/validation_error.rb
braintree-2.74.0 lib/braintree/validation_error.rb
braintree-2.73.0 lib/braintree/validation_error.rb
braintree-2.72.0 lib/braintree/validation_error.rb
braintree-2.71.0 lib/braintree/validation_error.rb
braintree-2.70.0 lib/braintree/validation_error.rb
braintree-2.69.1 lib/braintree/validation_error.rb
braintree-2.69.0 lib/braintree/validation_error.rb
braintree-2.68.2 lib/braintree/validation_error.rb
braintree-2.68.1 lib/braintree/validation_error.rb
braintree-2.68.0 lib/braintree/validation_error.rb
braintree-2.67.0 lib/braintree/validation_error.rb
braintree-2.66.0 lib/braintree/validation_error.rb
braintree-2.65.0 lib/braintree/validation_error.rb