Class: Rapa::Resources::BrowseNodeResource
Instance Method Summary
collapse
#initialize, #source
Instance Method Details
#asin ⇒ String
5
6
7
|
# File 'lib/rapa/resources/browse_node_resource.rb', line 5
def asin
source["ASIN"]
end
|
#author ⇒ String
10
11
12
|
# File 'lib/rapa/resources/browse_node_resource.rb', line 10
def author
source["Author"]
end
|
#ebook? ⇒ Boolean
15
16
17
|
# File 'lib/rapa/resources/browse_node_resource.rb', line 15
def ebook?
source["ProductGroup"] == "eBooks"
end
|
#product_group ⇒ String
20
21
22
|
# File 'lib/rapa/resources/browse_node_resource.rb', line 20
def product_group
source["ProductGroup"]
end
|
#title ⇒ String
25
26
27
|
# File 'lib/rapa/resources/browse_node_resource.rb', line 25
def title
source["Title"]
end
|
#url_details_page ⇒ String
30
31
32
|
# File 'lib/rapa/resources/browse_node_resource.rb', line 30
def url_details_page
source["DetailPageURL"]
end
|