Sha256: 8bd7c8def21c9d0eed48b696f4dc5a6752066055f15d84cceaaa0b3846c24ff6
Contents?: true
Size: 388 Bytes
Versions: 3
Compression:
Stored size: 388 Bytes
Contents
# frozen_string_literal: true module PhoneSites module GsmArena class ModelListResponse < ::PhoneSites::BaseResponse def perform(url, method = 'get', options = {}) response = super(url, method, options) Nokogiri::HTML(response.body).css('.makers li a').map do |elem| PhoneSites::GsmArena::PhoneModel.new(elem) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems