Class: Google::Books::RetailPrice

Inherits:
Price
  • Object
show all
Defined in:
lib/bookle/google_books_retail_price.rb

Instance Attribute Summary

Attributes inherited from Price

#amount, #currency_code

Instance Method Summary collapse

Methods inherited from Price

#initialize

Constructor Details

This class inherits a constructor from Google::Books::Price

Instance Method Details

#to_hashObject



7
8
9
# File 'lib/bookle/google_books_retail_price.rb', line 7

def to_hash
	{"retail_price_amount" => self.amount, "retail_price_currency_code" => self.currency_code}
end