Created
June 10, 2015 23:40
-
-
Save anonymous/c8ecd251a7d44b00c730 to your computer and use it in GitHub Desktop.
syntax error, unexpected keyword_do_block
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def consulta_cpmrc(ref) | |
client = Savon.client("http://WHATEVER") | |
response = client.request :consulta_cpmrc, do # <- This line throws the error | |
soap.body = { | |
"Provincia" => "", | |
"Municipio" => "", | |
"SRS" => "EPSG:4258", | |
"RefCat" => "#{ref[0..13]}"#"6447903UF6564N"# son los 14 primeros caracteres | |
} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment