Class: Stripe::Source::CodeVerification
- Inherits:
-
Stripe::StripeObject
- Object
- Stripe::StripeObject
- Stripe::Source::CodeVerification
- Defined in:
- lib/stripe/resources/source.rb
Constant Summary
Constants inherited from Stripe::StripeObject
Stripe::StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#attempts_remaining ⇒ Object
readonly
The number of attempts remaining to authenticate the source object with a verification code.
-
#status ⇒ Object
readonly
The status of the code verification, either ‘pending` (awaiting verification, `attempts_remaining` should be greater than 0), `succeeded` (successful verification) or `failed` (failed verification, cannot be verified anymore as `attempts_remaining` should be 0).
Attributes inherited from Stripe::StripeObject
Method Summary
Methods inherited from Stripe::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 Attribute Details
#attempts_remaining ⇒ Object (readonly)
The number of attempts remaining to authenticate the source object with a verification code.
211 212 213 |
# File 'lib/stripe/resources/source.rb', line 211 def attempts_remaining @attempts_remaining end |
#status ⇒ Object (readonly)
The status of the code verification, either ‘pending` (awaiting verification, `attempts_remaining` should be greater than 0), `succeeded` (successful verification) or `failed` (failed verification, cannot be verified anymore as `attempts_remaining` should be 0).
213 214 215 |
# File 'lib/stripe/resources/source.rb', line 213 def status @status end |