rangka / quickbooks

PHP Library for connecting to QuickBooks.
MIT License
8 stars 11 forks source link

Class resource is not working #6

Closed richardhdc closed 7 years ago

richardhdc commented 7 years ago

class QBClass extends Service { /**

  • Name of this service. Must correspond to actual objecet type in Quickbooks.
  • @var string */ protected static $name = 'class';

    /**

  • Resource name of this service. Must correspond to actual objecet type in Quickbooks and in all lowercase.
  • @var string */ protected static $resource_name = 'Class';

}

But when I changed the $name to 'Class', it works. Please verify if it should be capitalize?

khairulashraff commented 7 years ago

No, it should not be capitalised. That refers to the API endpoint. I don't think I ever finished using $resource_name.

How does it not work? Is this the same as error in #7?

richardhdc commented 7 years ago

Looks like everything is working now. Good job.