class Apis::Earthquake

Class to fetch earthquake

Public Instance Methods

earthquake() click to toggle source

Get earthquake monitoring data for the last 48 hours.

@return [Faraday::Response] Api result.

# File lib/apis/endpoints/earthquake.rb, line 9
def earthquake
  Apis.client.get('/earthquake/is')
end