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

Add index call for shipments #6

Merged
merged 1 commit into from
Jan 21, 2016
Merged

Conversation

dorotheelaugwitz
Copy link
Contributor

Adds an operation to load all existing shipments

@dorotheelaugwitz dorotheelaugwitz force-pushed the dl-add-shipments-index-call branch 3 times, most recently from 54ef219 to 32e2fac Compare January 8, 2016 15:39
@dorotheelaugwitz dorotheelaugwitz force-pushed the dl-add-shipments-index-call branch 2 times, most recently from fb48346 to 04d32a2 Compare January 15, 2016 16:23

attr_accessor :from, :to, :carrier, :package, :reference_number
attr_reader :id, :created_at, :carrier_tracking_no, :tracking_url, :label_url, :packages, :price

def self.index_response_root
"#{class_name.downcase}"

Choose a reason for hiding this comment

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

Prefer to_s over string interpolation.

@sfroehler sfroehler self-assigned this Jan 20, 2016
Add filtering to all shipments call
@sfroehler sfroehler merged commit cfd4a8c into master Jan 21, 2016
@sfroehler sfroehler deleted the dl-add-shipments-index-call branch January 21, 2016 09:32
sfroehler added a commit that referenced this pull request Jan 21, 2016
- This CHANGELOG file (Following "[Keep a CHANGELOG](http://keepachangelog.com/)")
- 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](http://semver.org) 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.
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.

None yet

3 participants