From 4b1d7057dc63233ed811bc2571f0e411327e2573 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Thu, 9 Nov 2017 10:43:08 +0100 Subject: [PATCH] Dev::CustomerVendor podfix s/create_customer/new_customer/gc --- SL/Dev/CustomerVendor.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SL/Dev/CustomerVendor.pm b/SL/Dev/CustomerVendor.pm index 0ea6263ef..6b2e61886 100644 --- a/SL/Dev/CustomerVendor.pm +++ b/SL/Dev/CustomerVendor.pm @@ -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; -- 2.20.1