weather-synopsis 0.0.0 → 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/Weather-Synopsis.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 55042f85c2f443833ebdf23a6d089af0ea78e713634ef7716af0c23cf39d06f8
4
- data.tar.gz: ebfdee11683c3a024c3b8d7319e05566b13f01b1ec179f55d126b16da48959ac
3
+ metadata.gz: ee38300d05f71ef12387b0185a6551d65359f5404013e5da3c0f3f6e1cacd398
4
+ data.tar.gz: 9d19fab3b8771f133b471ef9bdea25d4087c2c38f011ee0705a6381096ba4a05
5
5
  SHA512:
6
- metadata.gz: 811fbb8fdd44dda6637cd2dfdc473245ca274887f3de15bc16496ac221709a21b63df62fc04387e41d68dd0cdc1d69043212ed4ede3020fb01884fb198af8e57
7
- data.tar.gz: 27297fa03f03373fbe765fe780aef6449ac2b18bf62023374cf807691418e00a6236e04dcdb8078faf445c8da9e9e3872c34eef104891a5182a437c30826c055
6
+ metadata.gz: 7091b564e84989febd9115f727c0d641e5caac06b035f101b21db437cce7b1a1fb189fe8169c4daed4860128705c00f7b6ac18c7ac2f61aabf77ae0963fb696a
7
+ data.tar.gz: 2c548695b06ab7123d8bbeeb14941e7a9efa7de0aca239af46878226f0b92158f31c0e027c000166ff1fd8973df189a6c65781e25974138943a973dbc0ee9956
@@ -5,8 +5,8 @@ class Weather
5
5
  include Singleton
6
6
  include HTTParty
7
7
 
8
- def earth_data(city:,country_code;,api_key:)
9
-
8
+ def earth_data(city:,country_code:,api_key:)
9
+
10
10
  # This is a URL from OpenWeatherMap. Parameters are inserted into this string
11
11
  response = self.class.get("https://api.openweathermap.org/data/2.5/weather?q=#{city},#{country_code}&appid=#{api_key}")
12
12
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weather-synopsis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - AdamD