Module: Bing::FormattingHelper
- Defined in:
- lib/bing/formatting_helper.rb
Overview
Responsible for consolidating response formatting logic shared amongst resources.
Instance Method Summary collapse
-
#bbox(box) ⇒ Object
Decipher bounding box from bbox in Bing response.
Instance Method Details
#bbox(box) ⇒ Object
Decipher bounding box from bbox in Bing response.
10 11 12 13 14 15 16 17 18 |
# File 'lib/bing/formatting_helper.rb', line 10 def bbox box south, west, north, east = *box { :north => north, :east => east, :south => south, :west => west, } end |