Socket
Book a DemoInstallSign in
Socket

weather_hash

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

weather_hash

0.0.2
bundlerRubygems
Version published
Maintainers
1
Created
Source

WeatherHash

This gem was created to serve as an educational tool to help students understand hashes and arrays using a real-world context. It pulls weather data from the Yahoo! weather API.

Installation

Install this gem by running the following command in the terminal:

$ gem install weather_hash

Usage

Use this gem inside your code:

require 'weather_hash'

WeatherHash.lookup("Chicago", "IL")

The response will be a hash containing current weather data.

Contributing

  • Fork it ( https://github.com/[my-github-username]/weather_hash/fork )
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create a new Pull Request

FAQs

Package last updated on 24 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.