Open uwejan opened 2 years ago
Importing the Rate class worked for me.
use Ups\Rate;
$rate = new Rate(
$accessKey,
$userId,
$password
);
If am to use Rate
it means am not using any facade in this case.
There is a problem with the library, i hope somebody can take a look.
Followed the installation guide. On latest version of laravel.
Error: Call to undefined method Ptondereau\LaravelUpsApi\Facades\UpsRate::getRate()
Testing out the ; https://github.com/gabrielbull/php-ups-api#rate-class The following classes are imported;