dear-inventory-ruby 0.2.11 → 0.2.13
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 +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +4 -4
- data/docs/Account.md +15 -15
- data/docs/Accounts.md +3 -3
- data/docs/Address.md +8 -8
- data/docs/AttachmentLine.md +5 -5
- data/docs/Bin.md +2 -2
- data/docs/Carrier.md +2 -2
- data/docs/Carriers.md +3 -3
- data/docs/Contact.md +9 -9
- data/docs/Customer.md +31 -31
- data/docs/Customers.md +3 -3
- data/docs/Error.md +2 -2
- data/docs/ExternalHeader.md +2 -2
- data/docs/InventoryApi.md +64 -64
- data/docs/Location.md +12 -12
- data/docs/Locations.md +3 -3
- data/docs/Me.md +7 -7
- data/docs/MeContact.md +8 -8
- data/docs/MeContacts.md +3 -3
- data/docs/PaymentTerm.md +4 -4
- data/docs/PaymentTerms.md +3 -3
- data/docs/PriceTier.md +2 -2
- data/docs/PriceTiers.md +1 -1
- data/docs/Sale.md +43 -43
- data/docs/SaleAdditionalCharge.md +8 -8
- data/docs/SaleInvoice.md +17 -17
- data/docs/SaleInvoiceAdditionalCharge.md +9 -9
- data/docs/SaleInvoiceDelete.md +1 -1
- data/docs/SaleInvoiceLine.md +12 -12
- data/docs/SaleInvoicePartial.md +12 -12
- data/docs/SaleInvoicePost.md +12 -12
- data/docs/SaleInvoices.md +2 -2
- data/docs/SaleItem.md +31 -31
- data/docs/SaleList.md +3 -3
- data/docs/SaleOrder.md +9 -9
- data/docs/SaleOrderLine.md +13 -13
- data/docs/SalePayment.md +14 -14
- data/docs/SalePaymentLine.md +7 -7
- data/docs/SaleQuote.md +8 -8
- data/docs/SaleQuoteLine.md +11 -11
- data/docs/ShippingAddress.md +11 -11
- data/docs/Success.md +1 -1
- data/docs/SupplierCustomerAddress.md +9 -9
- data/docs/Tax.md +5 -5
- data/docs/TaxComponent.md +3 -3
- data/docs/Taxes.md +3 -3
- data/docs/Webhook.md +10 -10
- data/docs/Webhooks.md +1 -1
- data/lib/dear-inventory-ruby/models/supplier_customer_address.rb +7 -7
- data/lib/dear-inventory-ruby/version.rb +1 -1
- data/spec/.DS_Store +0 -0
- data/spec/models/supplier_customer_address_spec.rb +1 -1
- metadata +3 -7
data/docs/Webhooks.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**webhooks** | [**Array<Webhook>**](Webhook.md) | Array of Webhooks | [optional]
|
7
|
+
**webhooks** | [**Array<Webhook>**](Webhook.md) | Array of Webhooks | [optional]
|
8
8
|
|
9
9
|
## Code Sample
|
10
10
|
|
@@ -30,7 +30,7 @@ module DearInventoryRuby
|
|
30
30
|
attr_accessor :state
|
31
31
|
|
32
32
|
# Zip / PostCode
|
33
|
-
attr_accessor :
|
33
|
+
attr_accessor :postcode
|
34
34
|
|
35
35
|
# Country name
|
36
36
|
attr_accessor :country
|
@@ -49,7 +49,7 @@ module DearInventoryRuby
|
|
49
49
|
:'line2' => :'Line2',
|
50
50
|
:'city' => :'City',
|
51
51
|
:'state' => :'State',
|
52
|
-
:'
|
52
|
+
:'postcode' => :'Postcode',
|
53
53
|
:'country' => :'Country',
|
54
54
|
:'type' => :'Type',
|
55
55
|
:'default_for_type' => :'DefaultForType'
|
@@ -64,7 +64,7 @@ module DearInventoryRuby
|
|
64
64
|
:'line2' => :'String',
|
65
65
|
:'city' => :'String',
|
66
66
|
:'state' => :'String',
|
67
|
-
:'
|
67
|
+
:'postcode' => :'String',
|
68
68
|
:'country' => :'String',
|
69
69
|
:'type' => :'String',
|
70
70
|
:'default_for_type' => :'Boolean'
|
@@ -112,8 +112,8 @@ module DearInventoryRuby
|
|
112
112
|
self.state = attributes[:'state']
|
113
113
|
end
|
114
114
|
|
115
|
-
if attributes.key?(:'
|
116
|
-
self.
|
115
|
+
if attributes.key?(:'postcode')
|
116
|
+
self.postcode = attributes[:'postcode']
|
117
117
|
end
|
118
118
|
|
119
119
|
if attributes.key?(:'country')
|
@@ -164,7 +164,7 @@ module DearInventoryRuby
|
|
164
164
|
line2 == o.line2 &&
|
165
165
|
city == o.city &&
|
166
166
|
state == o.state &&
|
167
|
-
|
167
|
+
postcode == o.postcode &&
|
168
168
|
country == o.country &&
|
169
169
|
type == o.type &&
|
170
170
|
default_for_type == o.default_for_type
|
@@ -179,7 +179,7 @@ module DearInventoryRuby
|
|
179
179
|
# Calculates hash code according to all attributes.
|
180
180
|
# @return [Integer] Hash code
|
181
181
|
def hash
|
182
|
-
[id, line1, line2, city, state,
|
182
|
+
[id, line1, line2, city, state, postcode, country, type, default_for_type].hash
|
183
183
|
end
|
184
184
|
|
185
185
|
# Builds the object from hash
|
data/spec/.DS_Store
CHANGED
Binary file
|
@@ -62,7 +62,7 @@ describe 'SupplierCustomerAddress' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "postcode"' do
|
66
66
|
it 'should work' do
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
68
|
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dear-inventory-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nhan Nguyen
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-15 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: faraday
|
@@ -249,7 +248,6 @@ metadata:
|
|
249
248
|
source_code_uri: https://github.com/nnhansg/dear-ruby
|
250
249
|
changelog_uri: https://github.com/nnhansg/dear-ruby/blob/master/CHANGELOG.md
|
251
250
|
bug_tracker_uri: https://github.com/nnhansg/dear-ruby/issues
|
252
|
-
post_install_message:
|
253
251
|
rdoc_options: []
|
254
252
|
require_paths:
|
255
253
|
- lib
|
@@ -264,9 +262,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
264
262
|
- !ruby/object:Gem::Version
|
265
263
|
version: '0'
|
266
264
|
requirements: []
|
267
|
-
|
268
|
-
rubygems_version: 2.7.3
|
269
|
-
signing_key:
|
265
|
+
rubygems_version: 3.6.2
|
270
266
|
specification_version: 4
|
271
267
|
summary: DEAR Inventory Ruby SDK generated from DEAR-OpenAPI Spec 3.0 for https://inventory.dearsystems.com
|
272
268
|
test_files:
|