Class: Google::Apis::WalletobjectsV1::JwtResource

Inherits:
Object
  • Object
show all
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

Overview

A JWT representation of a pass.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ JwtResource

Returns a new instance of JwtResource.



4732
4733
4734
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4732

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#jwtString

Required. A string representing a JWT of the format described at https:// developers.google.com/wallet/reference/rest/v1/Jwt Corresponds to the JSON property jwt

Returns:

  • (String)


4730
4731
4732
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4730

def jwt
  @jwt
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4737
4738
4739
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4737

def update!(**args)
  @jwt = args[:jwt] if args.key?(:jwt)
end