Skip to content

Function get_rate is not accessible from Ups() object #2

@KoulSlou

Description

@KoulSlou

I was trying to run code from read.me but this link $rate = $Ups->get_rate($destination, $packages);
returns NULL all the time.

It looks like get_rate function is not accessible from Ups object and you have to call it through rates property of the UPS object$Ups->rates->get_rate($packages);

Probably README example is just not updated?

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions