Skip to content

Commit

Permalink
reformat check config in initalizer
Browse files Browse the repository at this point in the history
  • Loading branch information
xana68 committed Oct 16, 2013
1 parent c116c83 commit 50aec85
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/glysellin/gateway/check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,14 @@ class Check < Glysellin::Gateway::Base
@@checks_destination = ""

mattr_accessor :check_payment_description
@@check_payment_description = lambda { |order| I18n.t('glysellin.labels.payment_methods.check.send_your_check_text', :order_ref => order.ref, :check_order => @@checks_order, :check_destination => @@checks_destination).html_safe }
@@check_payment_description = lambda { |order|
I18n.t(
'glysellin.labels.payment_methods.check.send_your_check_text',
:order_ref => order.ref,
:check_order => @@checks_order,
:check_destination => @@checks_destination
).html_safe
}

attr_accessor :errors, :order

Expand Down

0 comments on commit 50aec85

Please sign in to comment.