Module: AppReviews::BaseReviews

Includes:
Enumerable
Included in:
AppStore::Reviews, PlayStore::Reviews, TStore::Reviews
Defined in:
lib/app-reviews/base_reviews.rb

Instance Method Summary collapse

Instance Method Details

#countObject



22
23
24
# File 'lib/app-reviews/base_reviews.rb', line 22

def count
  @list.count
end

#lastObject



26
27
28
# File 'lib/app-reviews/base_reviews.rb', line 26

def last
  @list.last
end

#last_dateObject



9
10
11
# File 'lib/app-reviews/base_reviews.rb', line 9

def last_date
  @last_date
end

#set_from_date(date) ⇒ Object



18
19
20
# File 'lib/app-reviews/base_reviews.rb', line 18

def set_from_date(date)
  @from_date = date
end

#set_last_date(date) ⇒ Object



5
6
7
# File 'lib/app-reviews/base_reviews.rb', line 5

def set_last_date(date)
  @last_date = date
end

#set_page(start_page, end_page) ⇒ Object



13
14
15
16
# File 'lib/app-reviews/base_reviews.rb', line 13

def set_page(start_page, end_page)
  @start_page = start_page
  @end_page = end_page
end