SatishTalim/sinatra-street-view — pull request #3 by recklessrahul (2013-07-08 12:15:09+00:00)
Title: Setup bundler sinatra & Rspec. First failing feature spec

Proposing a design through this failing feature spec.

it "should receive an address &
return a google street view api link" do
address = "New York, NY 10002, USA"
FetchGoogleStreetView.new(address).fetch.
should == "http://maps.googleapis.com/maps/api/streetview?size=400x400&location=40.720032,%20-73.988354&fov=90&heading=235&pitch=10&sensor=false"
end

The FetchGoogleStreetView could delegate fetch latitude & longitude to a FetchLatLong class maybe?