Exception: Braintree::ValidationsFailed

Inherits:
BraintreeError show all
Defined in:
lib/braintree/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(error_result) ⇒ ValidationsFailed

Returns a new instance of ValidationsFailed.



35
36
37
# File 'lib/braintree/exceptions.rb', line 35

def initialize(error_result)
  @error_result = error_result
end

Instance Attribute Details

#error_resultObject (readonly)

Returns the value of attribute error_result.



33
34
35
# File 'lib/braintree/exceptions.rb', line 33

def error_result
  @error_result
end

Instance Method Details

#inspectObject



39
40
41
# File 'lib/braintree/exceptions.rb', line 39

def inspect
  "#<#{self.class} error_result: #{@error_result.inspect}>"
end

#to_sObject



43
44
45
# File 'lib/braintree/exceptions.rb', line 43

def to_s
  inspect
end