paddler: undefined method `list_financial_event_groups' for #<MWS::Reports::Client:0x000000031ad2b0>

43 views Asked by At

I'm calling an API list_financial_event_groups using peddler and its says it is undefined method. Even though the API call is present in paddler documentation.

I'm calling the get_report_list with same client and its working fine. I don't know why it says undefined only for list_financial_event_groups and not for get_report_list.

Anybody can please help.

1

There are 1 answers

0
Qumber Ali On BEST ANSWER

There is a stupid mistake by myself. I'm initialising the wrong client library this @client = MWS::Reports::Client.new instead of @client = MWS::Finances::Client.new.