Class: ServerSideGoogleMaps::Server

Inherits:
Object
  • Object
show all
Includes:
HTTParty
Defined in:
lib/server-side-google-maps/server.rb

Instance Method Summary collapse

Instance Method Details

#get(path, params) ⇒ Object



8
9
10
11
# File 'lib/server-side-google-maps/server.rb', line 8

def get(path, params)
  options = { :query => params }
  self.class.get("#{path}/json", options)
end