-
-
Save davidlesches/2759fa4bb01fd7193b2b to your computer and use it in GitHub Desktop.
Yodlee and Rails Implementation, Part 5: Scraping Data - app/models/account.rb
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
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