Skip to content

Instantly share code, notes, and snippets.

@davidlesches davidlesches/account.rb Secret
Created Mar 9, 2014

Embed
What would you like to do?
Yodlee and Rails Implementation, Part 5: Scraping Data - app/models/account.rb
class Account < ActiveRecord::Base
# Associations
belongs_to :user
belongs_to :bank
# Methods
def yodlee
@yodlee ||= Yodlee::Account.new(self)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.