Skip to content

Commit cd483be

Browse files
committed
Remove deprecated methods
Signed-off-by: David Celis <[email protected]>
1 parent 8dd6354 commit cd483be

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

lib/api-pagination.rb

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,6 @@ def total_from(collection)
3939
end
4040
end
4141

42-
def paginator
43-
warn "[DEPRECATION] ApiPagination.paginator is deprecated. Please use ApiPagination.config.paginator"
44-
config.paginator
45-
end
46-
47-
def per_page_header
48-
warn "[DEPRECATION] ApiPagination.per_page_header is deprecated. Please use ApiPagination.config.per_page_header"
49-
config.per_page_header
50-
end
51-
52-
def total_header
53-
warn "[DEPRECATION] ApiPagination.total_header is deprecated. Please use ApiPagination.config.total_header"
54-
config.total_header
55-
end
56-
5742
private
5843

5944
def paginate_with_kaminari(collection, options, paginate_array_options = {})

0 commit comments

Comments
 (0)