Skip to content

Commit

Permalink
define PAYMENT_TYPES in model
Browse files Browse the repository at this point in the history
  • Loading branch information
kyanny committed Jan 22, 2010
1 parent 064c0df commit c579ab8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions depot/app/models/order.rb
@@ -1,3 +1,9 @@
# -*- coding: utf-8 -*-
class Order < ActiveRecord::Base
has_many :line_items
PAYMENT_TYPES = [
["現金", "check"],
["クレジットカード", "cc"],
["注文書", "po"],
]
end

0 comments on commit c579ab8

Please sign in to comment.