ruby-brightpearl 0.2.0 → 0.3.0

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
  SHA256:
3
- metadata.gz: 005e8e38899a3409cace6dc97b98f6e56057ad6631c4ee1f1fd8acaefae15c78
4
- data.tar.gz: bf794427303a93c9a590a5de4c1ab5490003bbbeae0e383d15e775c6a95233e9
3
+ metadata.gz: 36879f9ba393e143164df763df4236de07986efca7a99a7d2267e87015aa74e2
4
+ data.tar.gz: 56674204c47ed147f9e8798b598f90b6c98320a5c29859112036c563d5b7c480
5
5
  SHA512:
6
- metadata.gz: d074392ad00706d6f0e766e831e55e21d01873b8139318690ae0b9f841f61f734f0d11d05dfaa6504087d5a2dacba3a673028693002a544dbdb428f4ca2c17c7
7
- data.tar.gz: 2f6227ee40bdba46caf0c8dd7b4a70f01c66f4de1dd849c32dfaf63c2385040fd2d2a9902aa5b16d921711eee00d0bfc53cf4d582d230c630d4c18ea3c7387e2
6
+ metadata.gz: fe7b11761a9aa7f475f694e249c1c6bf674fbf119c31efedc0225fa5265acfbbd9b21ee16ec240aa9916f03e38696ea5380d1762b181430e8e88a43a6fcd6c7b
7
+ data.tar.gz: 35042bea78d916efe48dd23d7c7d2495f39c39b4445bce7043eca7701982bfc878a01e749df170f7fb64ae135fe25fbcd17bc24307a46ee1658c5fa6425e3665
data/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.3.0] - 2022-02-03
4
+ - New resource ProductAvailability
3
5
  ## [0.2.0] - 2022-02-02
4
6
  - Add refresh token mechanic with method `use_refresh_token`
5
7
  - Change config values
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby-brightpearl (0.2.0)
4
+ ruby-brightpearl (0.3.0)
5
5
  httparty (~> 0.20)
6
6
 
7
7
  GEM
@@ -0,0 +1,13 @@
1
+ module Brightpearl
2
+ class ProductAvailability < Resource
3
+ extend Brightpearl::APIOperations::Get
4
+ class << self
5
+ def resource_path
6
+ "warehouse-service/product-availability/"
7
+ end
8
+
9
+ # https://api-docs.brightpearl.com/warehouse/product-availability/get.html
10
+
11
+ end
12
+ end
13
+ end
@@ -6,4 +6,5 @@ require 'brightpearl/resources/order_status'
6
6
  require 'brightpearl/resources/order_status_update'
7
7
  require 'brightpearl/resources/product'
8
8
  require 'brightpearl/resources/product_price'
9
- require 'brightpearl/resources/price_list'
9
+ require 'brightpearl/resources/price_list'
10
+ require 'brightpearl/resources/product_availability'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Brightpearl
4
- VERSION = "0.2.0"
4
+ VERSION = "0.3.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-brightpearl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - vicvans20
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-02-02 00:00:00.000000000 Z
11
+ date: 2022-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -103,6 +103,7 @@ files:
103
103
  - lib/brightpearl/resources/order_status_update.rb
104
104
  - lib/brightpearl/resources/price_list.rb
105
105
  - lib/brightpearl/resources/product.rb
106
+ - lib/brightpearl/resources/product_availability.rb
106
107
  - lib/brightpearl/resources/product_price.rb
107
108
  - lib/brightpearl/version.rb
108
109
  - playground.rb