Class: Stripe::OAuthErrorObject
- Inherits:
 - 
      StripeObject
      
        
- Object
 - StripeObject
 - Stripe::OAuthErrorObject
 
 
- Defined in:
 - lib/stripe/error_object.rb
 
Overview
Represents on OAuth error returned by the OAuth API.
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary
Attributes inherited from StripeObject
Instance Method Summary collapse
- 
  
    
      #error  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
A unique error code per error type.
 - 
  
    
      #error_description  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
A human readable description of the error.
 
Methods inherited from StripeObject
#==, #[], #[]=, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values
Constructor Details
This class inherits a constructor from Stripe::StripeObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject
Instance Method Details
#error ⇒ Object
A unique error code per error type.
      84 85 86  | 
    
      # File 'lib/stripe/error_object.rb', line 84 def error @values[:error] end  | 
  
#error_description ⇒ Object
A human readable description of the error.
      89 90 91  | 
    
      # File 'lib/stripe/error_object.rb', line 89 def error_description @values[:error_description] end  |