class Google::Apis::BooksV1::Volume::SaleInfo::Offer::RentalDuration
The rental duration (for rental offers only).
Attributes
count[RW]
Corresponds to the JSON property `count` @return [Float]
unit[RW]
Corresponds to the JSON property `unit` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/books_v1/classes.rb, line 3503 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/books_v1/classes.rb, line 3508 def update!(**args) @count = args[:count] if args.key?(:count) @unit = args[:unit] if args.key?(:unit) end