Skip to content

Added Payroll::PayRun#456

Open
vladiim wants to merge 3 commits into
waynerobinson:masterfrom
vladiim:master
Open

Added Payroll::PayRun#456
vladiim wants to merge 3 commits into
waynerobinson:masterfrom
vladiim:master

Conversation

@vladiim

@vladiim vladiim commented Oct 31, 2018

Copy link
Copy Markdown

Allows :get requests for the Payroll::PayRun api

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

record :PayRun

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

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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