Class: Stripe::V2::Iam::ApiKeyRotateParams::PublicKey

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/iam/api_key_rotate_params.rb

Defined Under Namespace

Classes: PemKey

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, new, #to_h

Constructor Details

#initialize(id: nil, pem_key: nil) ⇒ PublicKey

Returns a new instance of PublicKey.



25
26
27
28
# File 'lib/stripe/params/v2/iam/api_key_rotate_params.rb', line 25

def initialize(id: nil, pem_key: nil)
  @id = id
  @pem_key = pem_key
end

Instance Attribute Details

#idObject

Caller’s identifier of the public key. This is used for tracking purposes only, and will be echoed in the response if provided.



21
22
23
# File 'lib/stripe/params/v2/iam/api_key_rotate_params.rb', line 21

def id
  @id
end

#pem_keyObject

PEM-formatted public key.



23
24
25
# File 'lib/stripe/params/v2/iam/api_key_rotate_params.rb', line 23

def pem_key
  @pem_key
end