myob-api
myob-api copied to clipboard
select_company
no implicit conversion of String into Integer @api_client.select_company_file({:id => "7c13eeb8-snip",:username => "snip",:password=>"snip", })
Any ideas on what is wrong here
I am also getting same error.
Might be you are trying to get all company files in below manner like - @api_client.company_file.all_items then Might be you are facing such type of error.
But If you want to avaid this error then please write code in this manner - @api_client.company_file.all then no such error you will get.
After that you run this and it will fine for you. @api_client.select_company_file({:id => "7c13eeb8-snip",:username => "snip",:password=>"snip", })