-
-
Save pmaojo/a7977a944698ff282762459e29475d85 to your computer and use it in GitHub Desktop.
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 get_avatar(container,file,access_token) | |
@avatar_clean = ApiConecction.get("/Contenedores/#{container}/download/#{file}",access_token) | |
// aqui deberia tomar @avatar_clean.response_body y convertirlo en la imagen, pero no se que hacer | |
end |
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 avatar | |
@avatar_clean = Avatar.new | |
@avatar_response = @avatar_clean.get_avatar(@container,@avatar_name,@@my_token) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment