Method: Braspag::Bill.normalize_params
- Defined in:
- lib/rbraspag/bill.rb
.normalize_params(params) ⇒ Object
85 86 87 88 89 90 91 92 93 |
# File 'lib/rbraspag/bill.rb', line 85 def self.normalize_params(params) params = super if params[:expiration_date].respond_to?(:strftime) params[:expiration_date] = params[:expiration_date].strftime("%d/%m/%y") end params end |