Class: Google::Apis::WalletobjectsV1::JwtResource
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::JwtResource
- 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
-
#jwt ⇒ String
A string representing a JWT of the format described at https://developers.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JwtResource
constructor
A new instance of JwtResource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ JwtResource
Returns a new instance of JwtResource.
4307 4308 4309 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4307 def initialize(**args) update!(**args) end |
Instance Attribute Details
#jwt ⇒ String
A string representing a JWT of the format described at https://developers.
google.com/pay/passes/reference/s2w-reference#google-pay-api-for-passes-jwt
Corresponds to the JSON property jwt
4305 4306 4307 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4305 def jwt @jwt end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4312 4313 4314 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4312 def update!(**args) @jwt = args[:jwt] if args.key?(:jwt) end |