Method: IntacctRB::Bill#set_date_time
- Defined in:
- lib/intacctrb/bill.rb
#set_date_time(type) ⇒ Object
164 165 166 167 168 169 170 |
# File 'lib/intacctrb/bill.rb', line 164 def set_date_time type if %w(create update delete).include? type if object.respond_to? :"intacct_#{type}d_at" object.send("intacct_#{type}d_at=", DateTime.now) end end end |