Class: Stripe::Token::CreateParams::Person::UsCfpbData::RaceDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Token::CreateParams::Person::UsCfpbData::RaceDetails
- Defined in:
- lib/stripe/resources/token.rb
Instance Attribute Summary collapse
-
#race ⇒ Object
The persons race.
-
#race_other ⇒ Object
Please specify your race, when other is selected.
Instance Method Summary collapse
-
#initialize(race: nil, race_other: nil) ⇒ RaceDetails
constructor
A new instance of RaceDetails.
Methods inherited from RequestParams
Constructor Details
#initialize(race: nil, race_other: nil) ⇒ RaceDetails
Returns a new instance of RaceDetails.
1012 1013 1014 1015 |
# File 'lib/stripe/resources/token.rb', line 1012 def initialize(race: nil, race_other: nil) @race = race @race_other = race_other end |
Instance Attribute Details
#race ⇒ Object
The persons race.
1008 1009 1010 |
# File 'lib/stripe/resources/token.rb', line 1008 def race @race end |
#race_other ⇒ Object
Please specify your race, when other is selected.
1010 1011 1012 |
# File 'lib/stripe/resources/token.rb', line 1010 def race_other @race_other end |