Skip to content

Commit

Permalink
Fixed formatting in CHANGELOG and removed superfluous Alert constructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
troya2 committed Dec 31, 2023
1 parent 5c434d8 commit fe9321c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 0 additions & 4 deletions lib/open_weather/models/one_call/alert.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fe9321c

Please sign in to comment.