Class: Stripe::V2::Iam::ApiKeyUpdateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Iam::ApiKeyUpdateParams
- Defined in:
- lib/stripe/params/v2/iam/api_key_update_params.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Name to set for the API key.
-
#note ⇒ Object
Note or description to set for the API key.
Instance Method Summary collapse
-
#initialize(name: nil, note: nil) ⇒ ApiKeyUpdateParams
constructor
A new instance of ApiKeyUpdateParams.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(name: nil, note: nil) ⇒ ApiKeyUpdateParams
Returns a new instance of ApiKeyUpdateParams.
13 14 15 16 |
# File 'lib/stripe/params/v2/iam/api_key_update_params.rb', line 13 def initialize(name: nil, note: nil) @name = name @note = note end |
Instance Attribute Details
#name ⇒ Object
Name to set for the API key. If blank, the field is left unchanged.
9 10 11 |
# File 'lib/stripe/params/v2/iam/api_key_update_params.rb', line 9 def name @name end |
#note ⇒ Object
Note or description to set for the API key. If blank, the field is left unchanged.
11 12 13 |
# File 'lib/stripe/params/v2/iam/api_key_update_params.rb', line 11 def note @note end |