Class: Stripe::V2::Iam::ApiKeyUpdateParams

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/v2/iam/api_key_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#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

#nameObject

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

#noteObject

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