Class: Stripe::V2::Iam::ApiKeyCreateParams::PublicKey
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Iam::ApiKeyCreateParams::PublicKey
- Defined in:
- lib/stripe/params/v2/iam/api_key_create_params.rb
Defined Under Namespace
Classes: PemKey
Instance Attribute Summary collapse
-
#id ⇒ Object
Caller’s identifier of the public key.
-
#pem_key ⇒ Object
PEM-formatted public key.
Instance Method Summary collapse
-
#initialize(id: nil, pem_key: nil) ⇒ PublicKey
constructor
A new instance of PublicKey.
Methods inherited from RequestParams
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_create_params.rb', line 25 def initialize(id: nil, pem_key: nil) @id = id @pem_key = pem_key end |
Instance Attribute Details
#id ⇒ Object
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_create_params.rb', line 21 def id @id end |
#pem_key ⇒ Object
PEM-formatted public key.
23 24 25 |
# File 'lib/stripe/params/v2/iam/api_key_create_params.rb', line 23 def pem_key @pem_key end |