```ruby
require 'rakuten_web_service/search_result'

module RakutenWebService
  module Travel
    class SearchResult < RakutenWebService::SearchResult
      def has_next_page?
        false unless paging_info
        paging_info['page'] && paging_info['page'] < paging_info['pageCount']
      end

      def params_to_get_next_page
        @params.merge('page' => (paging_info['page'] + 1))
      end

      using RakutenWebService::StringSupport

      %w[page pageCount recordCount first last].each do |name|
        method_name = name.to_snake
        define_method method_name do
          paging_info[name]
        end
      end

      def has_next_page?
        (page < page_count)
      end

      private

      def paging_info
        response['pagingInfo']
      end
    end
  end
end
```

Remove duplicated definition of has_next_page?
user
```ruby
require 'rakuten_web_service/search_result'

module RakutenWebService
  module Travel
    class SearchResult < RakutenWebService::SearchResult
      def params_to_get_next_page
        @params.merge('page' => (paging_info['page'] + 1))
      end

      using RakutenWebService::StringSupport

      %w[page pageCount recordCount first last].each do |name|
        method_name = name.to_snake
        define_method method_name do
          paging_info[name]
        end
      end

      def has_next_page?
        (page < page_count)
      end

      private

      def paging_info
        response['pagingInfo']
      end
    end
  end
end
```
assistant