Class: Rdmm::Queries::ListItemsQuery
Instance Method Summary
collapse
Methods inherited from BaseQuery
#affiliate_id, #api_id, inherited, #initialize, property, #to_hash
Instance Method Details
#article ⇒ String?
Note:
One of the following values: “actress” “author” “genre” “maker” “series”
25
26
27
|
# File 'lib/rdmm/queries/list_items_query.rb', line 25
def article
options[:article]
end
|
#article_id ⇒ String?
30
31
32
|
# File 'lib/rdmm/queries/list_items_query.rb', line 30
def article_id
options[:article_id]
end
|
#cid ⇒ String?
35
36
37
|
# File 'lib/rdmm/queries/list_items_query.rb', line 35
def cid
options[:content_id]
end
|
#floor ⇒ String?
40
41
42
|
# File 'lib/rdmm/queries/list_items_query.rb', line 40
def floor
options[:floor_code]
end
|
#gte_date ⇒ String?
45
46
47
48
49
|
# File 'lib/rdmm/queries/list_items_query.rb', line 45
def gte_date
if options[:released_from]
format_time(options[:released_from])
end
end
|
#hits ⇒ Integer?
52
53
54
|
# File 'lib/rdmm/queries/list_items_query.rb', line 52
def hits
options[:hits]
end
|
#keyword ⇒ String?
57
58
59
|
# File 'lib/rdmm/queries/list_items_query.rb', line 57
def keyword
options[:keyword]
end
|
#lte_date ⇒ String?
62
63
64
65
66
|
# File 'lib/rdmm/queries/list_items_query.rb', line 62
def lte_date
if options[:released_to]
format_time(options[:released_to])
end
end
|
#mono_stock ⇒ String?
Note:
One of the following values: “dmp” “mono” “reserve” “stock”
74
75
76
|
# File 'lib/rdmm/queries/list_items_query.rb', line 74
def mono_stock
options[:mono_stock]
end
|
#offset ⇒ Integer?
79
80
81
|
# File 'lib/rdmm/queries/list_items_query.rb', line 79
def offset
options[:offset]
end
|
#service ⇒ String?
84
85
86
|
# File 'lib/rdmm/queries/list_items_query.rb', line 84
def service
options[:service_code]
end
|
#site ⇒ String?
Note:
One of the following values: “DMM.com” “DMM.R18”
92
93
94
|
# File 'lib/rdmm/queries/list_items_query.rb', line 92
def site
options[:site]
end
|
#sort ⇒ String?
Note:
One of the following values: “-price” “date” “price” “rank” “review”
103
104
105
|
# File 'lib/rdmm/queries/list_items_query.rb', line 103
def sort
options[:sort]
end
|