Class: Google::Apis::WalletobjectsV1::CallbackOptions
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::CallbackOptions
- 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
-
#update_request_url ⇒ String
URL for the merchant endpoint that would be called to request updates.
-
#url ⇒ String
The HTTPS url configured by the merchant.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CallbackOptions
constructor
A new instance of CallbackOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CallbackOptions
Returns a new instance of CallbackOptions.
517 518 519 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 517 def initialize(**args) update!(**args) end |
Instance Attribute Details
#update_request_url ⇒ String
URL for the merchant endpoint that would be called to request updates. The URL
should be hosted on HTTPS and robots.txt should allow the URL path to be
accessible by UserAgent:Google-Valuables. Deprecated.
Corresponds to the JSON property updateRequestUrl
508 509 510 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 508 def update_request_url @update_request_url end |
#url ⇒ String
The HTTPS url configured by the merchant. The URL should be hosted on HTTPS
and robots.txt should allow the URL path to be accessible by UserAgent:Google-
Valuables.
Corresponds to the JSON property url
515 516 517 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 515 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
522 523 524 525 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 522 def update!(**args) @update_request_url = args[:update_request_url] if args.key?(:update_request_url) @url = args[:url] if args.key?(:url) end |