Class: WeatherForecasts::Client::SelectCornerCoordinatesQuery

Inherits:
Query
  • Object
show all
Includes:
QueryUtilities
Defined in:
lib/weather_forecasts/client/query/select_corner_coordinates_query.rb

Constant Summary collapse

SECTOR_GRID_OPTIONS =
[
  :conus,
  :alaska,
  :nhemi,
  :guam,
  :hawaii,
  :puertori
]

Constants inherited from Query

Query::FORECAST_ELEMENTS

Instance Attribute Summary

Attributes inherited from Query

#conditions, #select_attributes, #soap_client

Instance Method Summary collapse

Methods included from QueryUtilities

#build_coordinates, #transform_coordinate_list

Methods inherited from Query

#initialize, properties, property, selection_attributes, set_selection_attributes, #validate, #where

Constructor Details

This class inherits a constructor from WeatherForecasts::Client::Query

Instance Method Details

#executeObject



17
18
19
20
21
22
23
# File 'lib/weather_forecasts/client/query/select_corner_coordinates_query.rb', line 17

def execute
  validate

  response = soap_client.call(:corner_points, :message => build_message)
  document = parse_xml(response)
  transform_coordinate_list(document)
end