Skip to content

Commit

Permalink
Return boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
rwojsznis committed Nov 2, 2015
1 parent 22b5e6a commit 707ce38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/workable/collection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def initialize(data, next_page_method, transform_mapping, root_key, paging = nil
end

def next_page?
@next_page
!! @next_page
end

def fetch_next_page
Expand Down

0 comments on commit 707ce38

Please sign in to comment.