TypeError: this.$set is not a function
<p>Hi I am geting this error:
<strong>Uncaught (in promise) TypeError: this.$set is not a function</strong></p>

<p>And here is the code:</p>

<pre><code>     export default {
        data: function() {
            return { movies: '' }
        },

        ready: function() {
            this.showMovies()
        },

        methods: {
            showMovies: function() {
                 this.$http.get(config.api.url + '/movies').then(function (response) {
                    this.$set('movies', response.data)
                 })
             }
        }
     }
</code></pre>