Class: Panoramio

Inherits:
Object
  • Object
show all
Includes:
Typhoeus
Defined in:
lib/panoramio.rb

Overview

Constant Summary collapse

URL =
'http://www.panoramio.com/map/get_panoramas.php'

Class Method Summary collapse

Class Method Details

.photos(options = {}) ⇒ Object



18
19
20
# File 'lib/panoramio.rb', line 18

def photos(options = {})
  to_photos(get_photos(:params => to_params(options)))
end

.url(options = {}) ⇒ Object



14
15
16
# File 'lib/panoramio.rb', line 14

def url(options = {})
  "#{URL}?#{to_uri(options)}"
end