Skip to content

Instantly share code, notes, and snippets.

@davidlesches
Created March 9, 2014 04:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidlesches/2759fa4bb01fd7193b2b to your computer and use it in GitHub Desktop.
Save davidlesches/2759fa4bb01fd7193b2b to your computer and use it in GitHub Desktop.
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