This project is a Ruby gem wrapper for the NZ Post API.
- TDD: Write tests first using RSpec.
- Mocking: Use WebMock for all external HTTP requests.
- Structure: Follow the pattern of having resources and a client.
- Code Style: Follow standard Ruby conventions.
- Create a spec file for the new feature.
- Implement the test case.
- Implement the code to pass the test.
- Refactor.
- Documentation: Update README.md if there are any changes to the public API or configuration.
- Authentication: Requires
client_idandclient_secretto get a Bearer token. - Resources:
ParcelAddress: Address search/validation.ParcelLabel: Label creation, status check, download.