lib/cubits/resource_collection.rb
def pagination
      return @pagination if @pagination
      first_page
      @pagination
    end
# Returns current pagination object.
# If pagination was not requested yet, does a one page request
#
Returns current pagination object.
If pagination was not requested yet, does a one page request
Returns current pagination object . If pagination was not requested yet does a one page request
def pagination
      return @pagination if @pagination
      first_page
      @pagination
    end
def pagination return @pagination if @pagination first_page @pagination end
Returns current pagination object.
Returns current pagination object .