- Add order model
- Add attr_accessor for
service
to classShipcloud::Shipment
to be able to access the service attribute at the shipment object. - Add attr_accessor for
additional_services
to classShipcloud::Shipment
to be able to access the additional_services attribute at the shipment object. - Add attr_reader for
label_voucher_url
to classShipcloud::Shipment
to be able to read the label_voucher_url (QR Code url) attribute at the shipment object. - Added missing
frozen_string_literal: true
magic comments to files
- Ensure compatibility with ruby 2.x and 3.x
- Set required ruby version to >= 2.6
- Replace Travis CI with CircleCI
- Specify simplecov to be ~> 0.21.0
- Specify
rubocop
to be~> 1.10.0
- Specify
rubocop-performance
to be~> 1.7.0
- Drop support for Ruby <= 2.5
- Drop support for RBX
- Fix rubocop styling issues
- Support shipments with pickup requests as required for TNT.
- Add attr_accessor for
email
to classShipcloud::Address
to be able to access the email attribute at the address object.
- Add the possibility to specify custom affiliate_id on every request
- Removed support for ruby < 2.3. Target ruby version is 2.6
- Add attr_reader for
id
to classShipcloud::Address
to be able to get the id of a created address - Add attr_reader for
id
to classShipcloud::Webhook
to be able to get the id of a created webhook - Add attr_reader for
customs_declaration
to classShipcloud::Shipment
to be able to get thecustoms_declaration
of a created shipment
- Add attribute
metadata
to classShipcloud::Shipment
in order to transmit JSON data (#16). - Add resource pickup_request in order to submit pickup request to shipcloud
- Add attribute
pickup_address
to classShipcloud::PickupRequest
to submit an alternative address for pickup request to shipcloud - Add
delete
operation forwebhook
resource - Add attribute
deactivated
to classShipcloud::Webhook
- Add
affiliate_id
toShipcloud::Configuration
and submit it (or a default affiliate id) via API headers to shipcloud - Add class
Shipcloud::Tracker
with create, find, and index operations
- Parse response only when it is not empty
- Add the possibility to specify the api key on every request. (#8)
- Add some more specific error classes
Shipcloud::ClientError
,Shipcloud::ServerError
,Shipcloud::InvalidRequestError
,Shipcloud::TooManyRequests
andShipcloud::NotFoundError
(#11). - Access to the entire response and error descriptions from the error object (#11).
- Removed the following ruby versions from travis-ci test runs:
- jruby-9.0.0.0
- Removed
Shipcloud::APIError
in preference to more granular error classes (#11).
- This CHANGELOG file (Following "Keep a CHANGELOG")
- Create, find, update and index operations for address resource. (#4)
- Services attribute to carriers call (#5)
- Index operation for shipment resources with optional filter parameters. (#6)
- Create, find and index operations for webhook resource. (#7)
- Added the following ruby versions to travis-ci test runs:
- 2.1.7
- 2.2.4
- 2.3.0
- Add ShipmentQuotes class returning the price for a certain shipment (#9)
- Dropped support for ruby 1.9.x in order to use the new language features of ruby 2.x. The official support of ruby 1.9.3 already ended on February 23, 2015 (https://www.ruby-lang.org/en/news/2014/01/10/ruby-1-9-3-will-end-on-2015/)
- Removed the following ruby versions from travis-ci test runs:
- 2.1.5
- 2.2.1
- 2.2.2
- 2.2.3
- Start following SemVer properly.
- The link to the developer documenation for the Shipment ressource still pointed at Apiary; it now correctly points to the shipcloud Developer Portal's API section on Shipments.
- Call to list carriers (from @axelerator - #1)
- Fixed bug in error handling and array responses
- Added a console task to the rakefile to provide an easy accessible playground for the gem (15c5719)- http://erniemiller.org/2014/02/05/7-lines-every-gems-rakefile-should-have/
- Added debug option to configuration to control debug output (4fd9dc529cb3862c2c7091007f39b54bbc91c14e)
- Updated Gemfile and shipcloud.gemspec
- bundler version 1.6.0
- rake version ~> 10.3.0
- rspec version ~> 2.99.0'
- webmock version ~> 1.18.0
- pry version ~> 0.10.0
- Added shipment usage info to Readme
- Added DELETE request for shipment resource
- Added configuration via config block
- Added possibility to configure http mode
- Added find operation
- Added shipments attributes to allow easier access to response data
- Added basic request handling
- Added Shipment class
- Added user agent
- Removed ssl certificate reference
- Removed debug code
- Fixed request content-type and response validation
Template:
- something was added
- something changed
- something is depricated
- something was removed
- something was fixed
- a security fix
Following "Keep a CHANGELOG"