Class: Google::Apis::WalletobjectsV1::AuthenticationKey
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::AuthenticationKey
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/walletobjects_v1/classes.rb,
lib/google/apis/walletobjects_v1/representations.rb,
lib/google/apis/walletobjects_v1/representations.rb
Instance Attribute Summary collapse
-
#id ⇒ Fixnum
Available only to Smart Tap enabled partners.
-
#public_key_pem ⇒ String
Available only to Smart Tap enabled partners.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuthenticationKey
constructor
A new instance of AuthenticationKey.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AuthenticationKey
Returns a new instance of AuthenticationKey.
256 257 258 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 256 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ Fixnum
Available only to Smart Tap enabled partners. Contact support for additional
guidance.
Corresponds to the JSON property id
248 249 250 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 248 def id @id end |
#public_key_pem ⇒ String
Available only to Smart Tap enabled partners. Contact support for additional
guidance.
Corresponds to the JSON property publicKeyPem
254 255 256 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 254 def public_key_pem @public_key_pem end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
261 262 263 264 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 261 def update!(**args) @id = args[:id] if args.key?(:id) @public_key_pem = args[:public_key_pem] if args.key?(:public_key_pem) end |