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

Added Payroll::PayRun #456

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Added Payroll::PayRun #456

wants to merge 3 commits into from

Conversation

vladiim
Copy link

@vladiim vladiim commented Oct 31, 2018

Allows :get requests for the Payroll::PayRun api

Feedback probably required - this is my first open source PR.

def initialize(application)
application.instance_variable_set("@xero_url", "https://api.xero.com/payroll.xro/1.0")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure we should be doing this here

@CloCkWeRX
Copy link
Collaborator

Looks pretty good at first glance - you might be interested though in our payroll branch which appears to have the models already - https://github.com/waynerobinson/xeroizer/blob/payroll/lib/xeroizer/models/payroll/pay_run.rb

@CloCkWeRX
Copy link
Collaborator

I bit the bullet and merged some of our payroll branch to master. If you resolve the conflicts and give it a go; I can merge this

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

Successfully merging this pull request may close these issues.

2 participants