Class: Stripe::V2::Iam::ApiKeyCreateParams::PublicKey::PemKey
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Iam::ApiKeyCreateParams::PublicKey::PemKey
- Defined in:
- lib/stripe/params/v2/iam/api_key_create_params.rb
Instance Attribute Summary collapse
-
#algorithm ⇒ Object
The encryption algorithm used with this key (e.g., RSA).
-
#data ⇒ Object
The PEM-encoded public key data.
Instance Method Summary collapse
-
#initialize(algorithm: nil, data: nil) ⇒ PemKey
constructor
A new instance of PemKey.
Methods inherited from RequestParams
Constructor Details
#initialize(algorithm: nil, data: nil) ⇒ PemKey
Returns a new instance of PemKey.
15 16 17 18 |
# File 'lib/stripe/params/v2/iam/api_key_create_params.rb', line 15 def initialize(algorithm: nil, data: nil) @algorithm = algorithm @data = data end |
Instance Attribute Details
#algorithm ⇒ Object
The encryption algorithm used with this key (e.g., RSA).
11 12 13 |
# File 'lib/stripe/params/v2/iam/api_key_create_params.rb', line 11 def algorithm @algorithm end |
#data ⇒ Object
The PEM-encoded public key data. Newlines are required between header/footer and body, and optional within the body.
13 14 15 |
# File 'lib/stripe/params/v2/iam/api_key_create_params.rb', line 13 def data @data end |