Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xeroizer::GenericApplication#payroll NoMethodError #455

Closed
vladiim opened this issue Oct 30, 2018 · 2 comments
Closed

Xeroizer::GenericApplication#payroll NoMethodError #455

vladiim opened this issue Oct 30, 2018 · 2 comments

Comments

@vladiim
Copy link

vladiim commented Oct 30, 2018

client.payroll gives the following error: NoMethodError (undefined method xero_url=' for #Xeroizer::PrivateApplication:0x00007fd8ea704ef8)`

In order to access payroll I'm currently doing the following:

xero_client = client.clone
xero_client.instance_variable_set("@xero_url", "https://api.xero.com/payroll.xro/1.0")
payroll = Xeroizer::PayrollApplication.new(xero_client)
@vladiim
Copy link
Author

vladiim commented Oct 31, 2018

Fix at #456

@CloCkWeRX
Copy link
Collaborator

Going to close this one for the payroll branch; which... we will land one day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants