Class: Stripe::Apps::SecretCreateParams::Scope
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Apps::SecretCreateParams::Scope
- Defined in:
- lib/stripe/params/apps/secret_create_params.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
The secret scope type.
-
#user ⇒ Object
The user ID.
Instance Method Summary collapse
-
#initialize(type: nil, user: nil) ⇒ Scope
constructor
A new instance of Scope.
Methods inherited from RequestParams
Constructor Details
#initialize(type: nil, user: nil) ⇒ Scope
13 14 15 16 |
# File 'lib/stripe/params/apps/secret_create_params.rb', line 13 def initialize(type: nil, user: nil) @type = type @user = user end |
Instance Attribute Details
#type ⇒ Object
The secret scope type.
9 10 11 |
# File 'lib/stripe/params/apps/secret_create_params.rb', line 9 def type @type end |
#user ⇒ Object
The user ID. This field is required if ‘type` is set to `user`, and should not be provided if `type` is set to `account`.
11 12 13 |
# File 'lib/stripe/params/apps/secret_create_params.rb', line 11 def user @user end |