mohnish/money

View on GitHub
app/assets/javascripts/money/collections/payment_sources.js

Summary

Maintainability
A
1 hr
Test Coverage

M.PaymentSources = Backbone.Collection.extend({
  url: '/api/payment_sources',

  model: M.PaymentSource,

  initialize: function() {
    this.listenTo(M.dispatcher, 'm:reset:payment_sources', this.reset);
  }
});