Class: Google::Apis::WalletobjectsV1::CardRowOneItem
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::CardRowOneItem
- 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
-
#item ⇒ Google::Apis::WalletobjectsV1::TemplateItem
The item to be displayed in the row.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CardRowOneItem
constructor
A new instance of CardRowOneItem.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CardRowOneItem
590 591 592 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 590 def initialize(**args) update!(**args) end |
Instance Attribute Details
#item ⇒ Google::Apis::WalletobjectsV1::TemplateItem
The item to be displayed in the row. This item will be automatically centered.
Corresponds to the JSON property item
588 589 590 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 588 def item @item end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
595 596 597 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 595 def update!(**args) @item = args[:item] if args.key?(:item) end |