Skip to content

Instantly share code, notes, and snippets.

@davidray
Created May 31, 2013 14:57
Show Gist options
  • Save davidray/5685556 to your computer and use it in GitHub Desktop.
Save davidray/5685556 to your computer and use it in GitHub Desktop.
OFFERING_TERM_FIELDS = [:loan_interest_rate, :loan_term, :revenue_share_percentage, :revenue_share_term, :revenue_share_return_cap, :revenue_share_payment_frequency, :revenue_loan_target_rate, :revenue_loan_term, :equity_valuation, :equity_percentage_offered]
included do
store :offering_terms, accessors: OFFERING_TERM_FIELDS
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment