Skip to content

Conversation

abreckner and others added 30 commits April 24, 2020 17:14
Add WFM connection class and specs
* add Staff.list

* fix model namespace

* remove extra line

* drop sax parser

* remove parser spec

* optimise

* fix payroll_code

* add dry typesa

* Revert "add dry typesa"

This reverts commit 05de0bc.

* superclass errors + add api_url

* update to use Connection
Adding VCR spec to Staff List. IGNT-3573
Remove gem versions and bundle update (for my gems)
* Adding job.api/current

* don't convert to date (leave as string)

* test name update

* remove API key
* Add Faraday post to connection and post test with VCR

* Rubocop fixes
* Switch `get` tests from mocks to VCR

* Remove encoded auth

* refactor get and post to be more similar and add content type to post

* rubocop fix
* add Staff.list

* fix model namespace

* remove extra line

* drop sax parser

* remove parser spec

* optimise

* fix payroll_code

* commit unfinished changes

* add incomplete spec

* initial commit

* update spec

* commit changes

* Add module

* add Nokogiri::Xml::Builder

* fix require

* pass spec

* fix cops

* update based on Tony's feedback

* fix spacing

* fix ordering

* fix ordering
…(#17)

* Refactor connection to use access token and xero_tenant_id

* Fix job spec

* use access_token for staff

* template fix

* rubocop fixes

* Use new connection settings for client

* Rubocop fix
* remove faraday version

* add Gemfile.lock
* Remove Job model

* remove template model

* remove template model

* Remove client model

* rubocop fix

* rubocop
* add element_name

* update based on Tony's feedback
* Add dry types gem and Job::Add schema

* Add function and test for add job

* use string keys instead of symbol keys
* Need to use symbols so we can define optional attributes

* Add client schema and spec

* Use validated client to send to XPM

* Rubocop fix

* code review feedback

* code review updates
* readme updates

* update code owners
rmustafin and others added 20 commits April 19, 2021 15:24
…details

Flow 181/rate limit exceeded details
* Fix response encoding

* rubocop

Co-authored-by: Chris Nelson <git@chrisnelson.io>
* Unrestrict dry-types version and fix changes

* Fix rubocop offences

Co-authored-by: Chris Nelson <git@chrisnelson.io>
* Fix contacts array when creating or updating client

* Fix specs
* Specific error types for differentiation

* Update version number
* Add Client GET /search action

* Add specs and VCR cassettes for Client GET /search action

* Update Gemfile.lock

* Update to Ruby 3.1.3

* Bump gem version to 0.3.0
Co-authored-by: Christopher Nelson <git@chrisnelson.au>
@zillahchen zillahchen requested a review from a team as a code owner January 7, 2025 19:27

class InternalServerError < Error; end

class Conflict < Error; end

Choose a reason for hiding this comment

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

🤷 How do we decide what's a ConflictError vs. just a Conflict class? I guess that proposal from Anton never really stuck huh?

Copy link
Author

Choose a reason for hiding this comment

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

It might have just not stuck in my head 😆

Copy link

@anathematic anathematic left a comment

Choose a reason for hiding this comment

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

I love I can still add my 2c to this repo. I ain't ever unfollowing it 😉

@zillahchen
Copy link
Author

LOL hey @anathematic

@StefanSlehta
Copy link

@anathematic YOU DA BEST

@walhalign
Copy link

I love I can still add my 2c to this repo. I ain't ever unfollowing it 😉

Wait.. Hey you!

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

Successfully merging this pull request may close these issues.