Dev::CustomerVendor podfix
authorJan Büren <jan@kivitendo-premium.de>
Thu, 9 Nov 2017 09:43:08 +0000 (10:43 +0100)
committerJan Büren <jan@kivitendo-premium.de>
Thu, 9 Nov 2017 09:43:08 +0000 (10:43 +0100)
 s/create_customer/new_customer/gc

SL/Dev/CustomerVendor.pm

index 0ea6263..6b2e618 100644 (file)
@@ -76,11 +76,11 @@ Creates a new customer.
 
 Minimal usage, default values, without saving to database:
 
-  my $customer = SL::Dev::CustomerVendor::create_customer();
+  my $customer = SL::Dev::CustomerVendor::new_customer();
 
 Complex usage, overwriting some defaults, and save to database:
 
-  SL::Dev::CustomerVendor::create_customer(name        => 'Test customer',
+  SL::Dev::CustomerVendor::new_customer(name        => 'Test customer',
                                            hourly_rate => 50,
                                            taxzone_id  => 2,
                                           )->save;