From fe9321c08fb9b77c30853c4f1ccf7367579f9d7e Mon Sep 17 00:00:00 2001 From: Troy Anderson Date: Sun, 31 Dec 2023 15:34:11 -0700 Subject: [PATCH] Fixed formatting in CHANGELOG and removed superfluous Alert constructor. --- CHANGELOG.md | 2 +- lib/open_weather/models/one_call/alert.rb | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 807e812..cb1da78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ * [#21](https://github.com/dblock/open-weather-ruby-client/pull/21), [#20](https://github.com/dblock/open-weather-ruby-client/pull/20), [#19](https://github.com/dblock/open-weather-ruby-client/pull/19), [#18](https://github.com/dblock/open-weather-ruby-client/pull/18): Added support for Stations API - [@wasabigeek](https://github.com/wasabigeek). * [#22](https://github.com/dblock/open-weather-ruby-client/pull/23): Removed API version from `Config#endpoint` - [@dblock](https://github.com/dblock). -* Exposed the national weather alerts response in the One Call API [@troya2](https://github.com/troya2) +* [#25](https://github.com/dblock/open-weather-ruby-client/pull/25): Exposed the national weather alerts response in the One Call API [@troya2](https://github.com/troya2). * Your contribution here. ### 0.2.0 (2020/05/17) diff --git a/lib/open_weather/models/one_call/alert.rb b/lib/open_weather/models/one_call/alert.rb index 79cd0f8..a1de2cd 100644 --- a/lib/open_weather/models/one_call/alert.rb +++ b/lib/open_weather/models/one_call/alert.rb @@ -9,10 +9,6 @@ class Alert < Model property 'start', transform_with: ->(v) { Time.at(v).utc } # UTC property 'end', transform_with: ->(v) { Time.at(v).utc } # UTC property 'description' - - def initialize(args = nil, options = {}) - super args, options - end end end end