Guest User

Untitled

a guest
Feb 3rd, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. def set_movies
  2. prepare_client_soap
  3. @response = [];
  4. dates.each do |date|
  5. message={:user => ,
  6. :password => ,
  7. :id_fecha =>
  8. }
  9. [email protected](:get_peliculas, message: message)
  10. response= response.to_hash
  11. @response.push(response[:get_peliculas_response])
  12. end
  13. @response_array = [];
  14. @response.each do |response|
  15. movies=response[:return][:pelicula]
  16. movies.each do |movie|
  17. @response_array.push(movie)
  18. end
  19. end
  20. @movies=@response_array
  21. end
  22.  
  23. =movie[:pelicula]
Advertisement
Add Comment
Please, Sign In to add comment