CustomerVendor POD korrigiert
authorG. Richardson <grichardson@kivitec.de>
Tue, 8 Oct 2019 19:13:25 +0000 (21:13 +0200)
committerG. Richardson <grichardson@kivitec.de>
Wed, 9 Oct 2019 09:10:33 +0000 (11:10 +0200)
SL/Dev/CustomerVendor.pm

index 6b2e618..849bbda 100644 (file)
@@ -94,15 +94,15 @@ Creates a new vendor.
 
 Minimal usage, default values, without saving to database:
 
-  my $vendor = SL::Dev::CustomerVendor::create_vendor();
+  my $vendor = SL::Dev::CustomerVendor::new_vendor();
 
 Complex usage, overwriting some defaults, and save to database:
 
-  SL::Dev::CustomerVendor::create_vendor(name        => 'Test vendor',
-                                         taxzone_id  => 2,
-                                         notes       => "Order for 100$ for free delivery",
-                                         payment_id  => 5,
-                                        )->save;
+  SL::Dev::CustomerVendor::new_vendor(name        => 'Test vendor',
+                                      taxzone_id  => 2,
+                                      notes       => "Order for 100$ for free delivery",
+                                      payment_id  => 5,
+                                     )->save;
 
 =head1 BUGS