shipstation 0.13.5 → 0.14.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 59546ccf47b325621003434a20846502dc838c59
4
- data.tar.gz: 3b8edfa00ffae338a3d8bc6a251aa2a0404056de
3
+ metadata.gz: 2ed2ef561844c229b2e294f02691309719350cfa
4
+ data.tar.gz: 0b58ed58ff3f7adafce3984d0ce99c8c66638116
5
5
  SHA512:
6
- metadata.gz: f4ac57a08065854ed5671729713440fa4f66aef12100205c864b705473ec98e2f2ef0f4fee8c58122d4eaac076c0b962e9ee23fc229f6c4c91f14ad2e748879a
7
- data.tar.gz: 676a15535b800fbdba61d00873efbb726ed40552c4fe2703aeabfce873b340eda28c76eb01324751f5d76d4c53907ba71e3952ac3f403c8c2184e1e5ad0cb3ee
6
+ metadata.gz: 6bc361c9ff8ab8bfe99a5de3f34600dfa1038f2d5219d43afa88f7d2b8cef4f0812c0a7345092b8d8e160c27f66865dfd3a686e224099fa8597bcc545361697d
7
+ data.tar.gz: 3022ff46eac5e5dea1069cf205215ee1ac5a4af73c0a3ddf94ddade4db5750b4d468fd29e2d16540fe10f2190accb58233f4775555d8655668071379bda11371
@@ -1,5 +1,13 @@
1
1
  module Shipstation
2
2
  class Shipment < ApiResource
3
3
  extend Shipstation::APIOperations::List
4
+
5
+ class << self
6
+ def get_rates params={}
7
+ response = Shipstation.request(:post, "shipments/getrates", params)
8
+
9
+ return response
10
+ end
11
+ end
4
12
  end
5
13
  end
@@ -1,3 +1,3 @@
1
1
  module Shipstation
2
- VERSION = "0.13.5"
2
+ VERSION = "0.14.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shipstation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.5
4
+ version: 0.14.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Dallimore
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-11 00:00:00.000000000 Z
11
+ date: 2019-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -118,46 +118,46 @@ signing_key:
118
118
  specification_version: 4
119
119
  summary: A Ruby wrapper for the Shipstation API
120
120
  test_files:
121
+ - test/dummy/app/controllers/application_controller.rb
122
+ - test/dummy/app/views/layouts/application.html.erb
121
123
  - test/dummy/app/assets/javascripts/application.js
122
124
  - test/dummy/app/assets/stylesheets/application.css
123
- - test/dummy/app/controllers/application_controller.rb
124
125
  - test/dummy/app/helpers/application_helper.rb
125
- - test/dummy/app/views/layouts/application.html.erb
126
- - test/dummy/bin/bundle
127
- - test/dummy/bin/rails
126
+ - test/dummy/test/test_helper.rb
128
127
  - test/dummy/bin/rake
129
128
  - test/dummy/bin/setup
129
+ - test/dummy/bin/bundle
130
130
  - test/dummy/bin/spring
131
- - test/dummy/config/application.rb
132
- - test/dummy/config/boot.rb
133
- - test/dummy/config/database.yml
134
- - test/dummy/config/environment.rb
135
- - test/dummy/config/environments/development.rb
131
+ - test/dummy/bin/rails
132
+ - test/dummy/config/secrets.yml
133
+ - test/dummy/config/routes.rb
134
+ - test/dummy/config/locales/en.yml
136
135
  - test/dummy/config/environments/production.rb
136
+ - test/dummy/config/environments/development.rb
137
137
  - test/dummy/config/environments/test.rb
138
- - test/dummy/config/initializers/assets.rb
138
+ - test/dummy/config/environment.rb
139
+ - test/dummy/config/application.rb
140
+ - test/dummy/config/database.yml
141
+ - test/dummy/config/boot.rb
139
142
  - test/dummy/config/initializers/backtrace_silencers.rb
140
- - test/dummy/config/initializers/cookies_serializer.rb
141
- - test/dummy/config/initializers/filter_parameter_logging.rb
142
- - test/dummy/config/initializers/inflections.rb
143
143
  - test/dummy/config/initializers/mime_types.rb
144
+ - test/dummy/config/initializers/filter_parameter_logging.rb
144
145
  - test/dummy/config/initializers/session_store.rb
145
- - test/dummy/config/initializers/shipstation.rb
146
146
  - test/dummy/config/initializers/wrap_parameters.rb
147
- - test/dummy/config/locales/en.yml
148
- - test/dummy/config/routes.rb
149
- - test/dummy/config/secrets.yml
147
+ - test/dummy/config/initializers/assets.rb
148
+ - test/dummy/config/initializers/cookies_serializer.rb
149
+ - test/dummy/config/initializers/shipstation.rb
150
+ - test/dummy/config/initializers/inflections.rb
150
151
  - test/dummy/config.ru
151
- - test/dummy/db/seeds.rb
152
- - test/dummy/Gemfile
153
- - test/dummy/Gemfile.lock
154
- - test/dummy/public/404.html
152
+ - test/dummy/Rakefile
153
+ - test/dummy/public/favicon.ico
155
154
  - test/dummy/public/422.html
156
155
  - test/dummy/public/500.html
157
- - test/dummy/public/favicon.ico
156
+ - test/dummy/public/404.html
158
157
  - test/dummy/public/robots.txt
159
- - test/dummy/Rakefile
158
+ - test/dummy/db/seeds.rb
159
+ - test/dummy/Gemfile
160
+ - test/dummy/Gemfile.lock
160
161
  - test/dummy/README.rdoc
161
- - test/dummy/test/test_helper.rb
162
162
  - test/shipstation_test.rb
163
163
  - test/test_helper.rb