Module: Earthtools
- Defined in:
- lib/earthtools/version.rb,
lib/earthtools.rb
Overview
:nodoc:
Defined Under Namespace
Modules: VERSION
Class Method Summary collapse
Class Method Details
.height(options) ⇒ Object
27 28 29 30 |
# File 'lib/earthtools.rb', line 27 def self.height() height_data = XmlSimple.xml_in(RestClient.get(build_url(, "height"))) return height_data end |
.sunrise_sunset(options) ⇒ Object
22 23 24 25 |
# File 'lib/earthtools.rb', line 22 def self.sunrise_sunset() sunrise_sunset_data = XmlSimple.xml_in(RestClient.get(build_url(, "sunrise_sunset"))) return sunrise_sunset_data end |
.timezone(options) ⇒ Object
17 18 19 20 |
# File 'lib/earthtools.rb', line 17 def self.timezone() timezone_data = XmlSimple.xml_in(RestClient.get(build_url(, "timezone"))) return timezone_data end |