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.


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

def initialize(error_result)
  @error_result = error_result
end

Instance Attribute Details

#error_resultObject (readonly)

Returns the value of attribute error_result.


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

def error_result
  @error_result
end

Instance Method Details

#inspectObject


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

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

#to_sObject


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

def to_s
  inspect
end