Sha256: 5d111e3772a90426062ecdf02bc1b1848a9300717f4bb4947b3f443b4e119003

Contents?: true

Size: 313 Bytes

Versions: 1

Compression:

Stored size: 313 Bytes

Contents

# frozen_string_literal: true

module SoccersApi
  class Continent
    def self.continents
      require 'rest-client'

      url = 'https://api.soccersapi.com/v2.2/continents/?user=umarstads&token=4ec1d6a039a04165ce7ca1f2fd594fe0&t=list'
      response = RestClient.get url
      response.body
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
soccers_api-1.0.5 lib/soccers_api/continent.rb