services/named-maps-api-wrapper/lib/named-maps-wrapper/named_maps.rb
def all
				response = Typhoeus.get(@url + '?api_key=' + @api_key, {
					headers: @headers,
          ssl_verifypeer: @verify_cert,
          ssl_verifyhost: @verify_host,
          followlocation: true
				})
				raise HTTPResponseError, "#{response.code} #{response.request.url} (GET)" if response.code != 200

				::JSON.parse(response.response_body)
			end
# Retrieve a list of all named maps
Retrieve a list of all named maps
Retrieve a list of all named maps
def all
				response = Typhoeus.get(@url + '?api_key=' + @api_key, {
					headers: @headers,
          ssl_verifypeer: @verify_cert,
          ssl_verifyhost: @verify_host,
          followlocation: true
				})
				raise HTTPResponseError, "#{response.code} #{response.request.url} (GET)" if response.code != 200
				::JSON.parse(response.response_body)
			end
def all response = Typhoeus . get ( @url + '?api_key=' + @api_key , { headers : @headers , ssl_verifypeer : @verify_cert , ssl_verifyhost : @verify_host , followlocation : true } ) raise HTTPResponseError , "#{response.code} #{response.request.url} (GET)" if response . code != 200 :: JSON . parse ( response . response_body ) end
Retrieve a list of all named maps
Retrieve a list of all named maps