Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def set_movies
- prepare_client_soap
- @response = [];
- dates=@dates.return[:fecha]
- dates.each do |date|
- message={:user => ,
- :password => ,
- :id_fecha =>
- }
- response=@client.call(:get_peliculas, message: message)
- response= response.to_hash
- @response.push(response[:get_peliculas_response])
- end
- @response_array = [];
- @response.each do |response|
- movies=response[:return][:pelicula]
- movies.each do |movie|
- @response_array.push(movie)
- end
- end
- @movies=@response_array
- end
- -@movies.each do |movie|
- =movie[:pelicula]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement