Class: Stripe::Apps::Secret::ListParams::Scope
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Apps::Secret::ListParams::Scope
- Defined in:
- lib/stripe/resources/apps/secret.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
Returns a new instance of Scope.
38 39 40 41 |
# File 'lib/stripe/resources/apps/secret.rb', line 38 def initialize(type: nil, user: nil) @type = type @user = user end |
Instance Attribute Details
#type ⇒ Object
The secret scope type.
34 35 36 |
# File 'lib/stripe/resources/apps/secret.rb', line 34 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`.
36 37 38 |
# File 'lib/stripe/resources/apps/secret.rb', line 36 def user @user end |