search for: update_billing_info

Displaying 1 result from an estimated 1 matches for "update_billing_info".

2008 Mar 19
2
Stub / Mock - A little guidance?
...his instance method that is available to a User object. The method takes an OrderPaymentInfo object and copies its attributes onto the User''s attributes (Ignore the clunky design... that''s just how it has to be). The User''s instance method looks like so: class User def update_billing_info(billing_info) unless self.has_billing_address? self.bill_to_address1 = billing_info.address1 self.bill_to_address2 = billing_info.address2 self.bill_to_address3 = billing_info.address3 self.bill_to_city = billing_info.city...