Sha256: 310dafe1aa99ac96d3034cd4620df09982fc388a7459ad6b214594e1bbf0a0de

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

# frozen_string_literal: true
module PhoneSites
  module GsmArena
    class Connection
      def self.get_manufacturers
        Manufacturer.all
      end

      def self.get_models(manufacturer)
        manufacturer.models
      end

      def self.search(name)
        SearchResponse.new.perform(name)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phone_sites-0.1.0 lib/phone_sites/gsm_arena/connection.rb