dear-inventory-ruby 0.2.4 → 0.2.7
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 +12 -0
- data/README.md +9 -4
- data/docs/InventoryApi.md +97 -1
- data/docs/SaleInvoice.md +11 -3
- data/docs/SaleInvoicePartial.md +41 -0
- data/docs/SaleInvoices.md +1 -1
- data/docs/SaleItem.md +77 -0
- data/docs/SaleList.md +21 -0
- data/docs/SalePaymentLine.md +29 -0
- data/lib/dear-inventory-ruby/api/inventory_api.rb +111 -0
- data/lib/dear-inventory-ruby/models/sale_invoice.rb +55 -21
- data/lib/dear-inventory-ruby/models/sale_invoice_partial.rb +351 -0
- data/lib/dear-inventory-ruby/models/sale_invoices.rb +1 -1
- data/lib/dear-inventory-ruby/models/sale_item.rb +507 -0
- data/lib/dear-inventory-ruby/models/sale_list.rb +229 -0
- data/lib/dear-inventory-ruby/models/sale_payment_line.rb +267 -0
- data/lib/dear-inventory-ruby/version.rb +1 -1
- data/lib/dear-inventory-ruby.rb +4 -0
- data/spec/.DS_Store +0 -0
- data/spec/api/inventory_api_spec.rb +29 -0
- data/spec/models/sale_invoice_partial_spec.rb +113 -0
- data/spec/models/sale_invoice_spec.rb +30 -6
- data/spec/models/sale_item_spec.rb +221 -0
- data/spec/models/sale_list_spec.rb +53 -0
- data/spec/models/sale_payment_line_spec.rb +77 -0
- metadata +18 -2
| @@ -38,12 +38,6 @@ describe 'SaleInvoice' do | |
| 38 38 | 
             
                end
         | 
| 39 39 | 
             
              end
         | 
| 40 40 |  | 
| 41 | 
            -
              describe 'test attribute "combine_additional_charges"' do
         | 
| 42 | 
            -
                it 'should work' do
         | 
| 43 | 
            -
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 44 | 
            -
                end
         | 
| 45 | 
            -
              end
         | 
| 46 | 
            -
             | 
| 47 41 | 
             
              describe 'test attribute "invoice_number"' do
         | 
| 48 42 | 
             
                it 'should work' do
         | 
| 49 43 | 
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| @@ -110,4 +104,34 @@ describe 'SaleInvoice' do | |
| 110 104 | 
             
                end
         | 
| 111 105 | 
             
              end
         | 
| 112 106 |  | 
| 107 | 
            +
              describe 'test attribute "payments"' do
         | 
| 108 | 
            +
                it 'should work' do
         | 
| 109 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 110 | 
            +
                end
         | 
| 111 | 
            +
              end
         | 
| 112 | 
            +
             | 
| 113 | 
            +
              describe 'test attribute "total_before_tax"' do
         | 
| 114 | 
            +
                it 'should work' do
         | 
| 115 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 116 | 
            +
                end
         | 
| 117 | 
            +
              end
         | 
| 118 | 
            +
             | 
| 119 | 
            +
              describe 'test attribute "tax"' do
         | 
| 120 | 
            +
                it 'should work' do
         | 
| 121 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 122 | 
            +
                end
         | 
| 123 | 
            +
              end
         | 
| 124 | 
            +
             | 
| 125 | 
            +
              describe 'test attribute "total"' do
         | 
| 126 | 
            +
                it 'should work' do
         | 
| 127 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 128 | 
            +
                end
         | 
| 129 | 
            +
              end
         | 
| 130 | 
            +
             | 
| 131 | 
            +
              describe 'test attribute "paid"' do
         | 
| 132 | 
            +
                it 'should work' do
         | 
| 133 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 134 | 
            +
                end
         | 
| 135 | 
            +
              end
         | 
| 136 | 
            +
             | 
| 113 137 | 
             
            end
         | 
| @@ -0,0 +1,221 @@ | |
| 1 | 
            +
            =begin
         | 
| 2 | 
            +
            #DEAR Inventory API
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            #This specifing endpoints for DEAR Inventory API
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            The version of the OpenAPI document: 2.0.0
         | 
| 7 | 
            +
            Contact: nnhansg@gmail.com
         | 
| 8 | 
            +
            Generated by: https://openapi-generator.tech
         | 
| 9 | 
            +
            OpenAPI Generator version: 4.3.1
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            =end
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            require 'spec_helper'
         | 
| 14 | 
            +
            require 'json'
         | 
| 15 | 
            +
            require 'date'
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            # Unit tests for DearInventoryRuby::SaleItem
         | 
| 18 | 
            +
            # Automatically generated by openapi-generator (https://openapi-generator.tech)
         | 
| 19 | 
            +
            # Please update as you see appropriate
         | 
| 20 | 
            +
            describe 'SaleItem' do
         | 
| 21 | 
            +
              before do
         | 
| 22 | 
            +
                # run before each test
         | 
| 23 | 
            +
                @instance = DearInventoryRuby::SaleItem.new
         | 
| 24 | 
            +
              end
         | 
| 25 | 
            +
             | 
| 26 | 
            +
              after do
         | 
| 27 | 
            +
                # run after each test
         | 
| 28 | 
            +
              end
         | 
| 29 | 
            +
             | 
| 30 | 
            +
              describe 'test an instance of SaleItem' do
         | 
| 31 | 
            +
                it 'should create an instance of SaleItem' do
         | 
| 32 | 
            +
                  expect(@instance).to be_instance_of(DearInventoryRuby::SaleItem)
         | 
| 33 | 
            +
                end
         | 
| 34 | 
            +
              end
         | 
| 35 | 
            +
              describe 'test attribute "sale_id"' do
         | 
| 36 | 
            +
                it 'should work' do
         | 
| 37 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 38 | 
            +
                end
         | 
| 39 | 
            +
              end
         | 
| 40 | 
            +
             | 
| 41 | 
            +
              describe 'test attribute "order_number"' do
         | 
| 42 | 
            +
                it 'should work' do
         | 
| 43 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 44 | 
            +
                end
         | 
| 45 | 
            +
              end
         | 
| 46 | 
            +
             | 
| 47 | 
            +
              describe 'test attribute "status"' do
         | 
| 48 | 
            +
                it 'should work' do
         | 
| 49 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 50 | 
            +
                end
         | 
| 51 | 
            +
              end
         | 
| 52 | 
            +
             | 
| 53 | 
            +
              describe 'test attribute "order_date"' do
         | 
| 54 | 
            +
                it 'should work' do
         | 
| 55 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 56 | 
            +
                end
         | 
| 57 | 
            +
              end
         | 
| 58 | 
            +
             | 
| 59 | 
            +
              describe 'test attribute "invoice_date"' do
         | 
| 60 | 
            +
                it 'should work' do
         | 
| 61 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 62 | 
            +
                end
         | 
| 63 | 
            +
              end
         | 
| 64 | 
            +
             | 
| 65 | 
            +
              describe 'test attribute "customer"' do
         | 
| 66 | 
            +
                it 'should work' do
         | 
| 67 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 68 | 
            +
                end
         | 
| 69 | 
            +
              end
         | 
| 70 | 
            +
             | 
| 71 | 
            +
              describe 'test attribute "customer_id"' do
         | 
| 72 | 
            +
                it 'should work' do
         | 
| 73 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 74 | 
            +
                end
         | 
| 75 | 
            +
              end
         | 
| 76 | 
            +
             | 
| 77 | 
            +
              describe 'test attribute "invoice_number"' do
         | 
| 78 | 
            +
                it 'should work' do
         | 
| 79 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 80 | 
            +
                end
         | 
| 81 | 
            +
              end
         | 
| 82 | 
            +
             | 
| 83 | 
            +
              describe 'test attribute "customer_reference"' do
         | 
| 84 | 
            +
                it 'should work' do
         | 
| 85 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 86 | 
            +
                end
         | 
| 87 | 
            +
              end
         | 
| 88 | 
            +
             | 
| 89 | 
            +
              describe 'test attribute "invoice_amount"' do
         | 
| 90 | 
            +
                it 'should work' do
         | 
| 91 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 92 | 
            +
                end
         | 
| 93 | 
            +
              end
         | 
| 94 | 
            +
             | 
| 95 | 
            +
              describe 'test attribute "paid_amount"' do
         | 
| 96 | 
            +
                it 'should work' do
         | 
| 97 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 98 | 
            +
                end
         | 
| 99 | 
            +
              end
         | 
| 100 | 
            +
             | 
| 101 | 
            +
              describe 'test attribute "invoice_due_date"' do
         | 
| 102 | 
            +
                it 'should work' do
         | 
| 103 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 104 | 
            +
                end
         | 
| 105 | 
            +
              end
         | 
| 106 | 
            +
             | 
| 107 | 
            +
              describe 'test attribute "ship_by"' do
         | 
| 108 | 
            +
                it 'should work' do
         | 
| 109 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 110 | 
            +
                end
         | 
| 111 | 
            +
              end
         | 
| 112 | 
            +
             | 
| 113 | 
            +
              describe 'test attribute "base_currency"' do
         | 
| 114 | 
            +
                it 'should work' do
         | 
| 115 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 116 | 
            +
                end
         | 
| 117 | 
            +
              end
         | 
| 118 | 
            +
             | 
| 119 | 
            +
              describe 'test attribute "customer_currency"' do
         | 
| 120 | 
            +
                it 'should work' do
         | 
| 121 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 122 | 
            +
                end
         | 
| 123 | 
            +
              end
         | 
| 124 | 
            +
             | 
| 125 | 
            +
              describe 'test attribute "credit_note_number"' do
         | 
| 126 | 
            +
                it 'should work' do
         | 
| 127 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 128 | 
            +
                end
         | 
| 129 | 
            +
              end
         | 
| 130 | 
            +
             | 
| 131 | 
            +
              describe 'test attribute "updated"' do
         | 
| 132 | 
            +
                it 'should work' do
         | 
| 133 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 134 | 
            +
                end
         | 
| 135 | 
            +
              end
         | 
| 136 | 
            +
             | 
| 137 | 
            +
              describe 'test attribute "quote_status"' do
         | 
| 138 | 
            +
                it 'should work' do
         | 
| 139 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 140 | 
            +
                end
         | 
| 141 | 
            +
              end
         | 
| 142 | 
            +
             | 
| 143 | 
            +
              describe 'test attribute "order_status"' do
         | 
| 144 | 
            +
                it 'should work' do
         | 
| 145 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 146 | 
            +
                end
         | 
| 147 | 
            +
              end
         | 
| 148 | 
            +
             | 
| 149 | 
            +
              describe 'test attribute "combined_picking_status"' do
         | 
| 150 | 
            +
                it 'should work' do
         | 
| 151 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 152 | 
            +
                end
         | 
| 153 | 
            +
              end
         | 
| 154 | 
            +
             | 
| 155 | 
            +
              describe 'test attribute "combined_packing_status"' do
         | 
| 156 | 
            +
                it 'should work' do
         | 
| 157 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 158 | 
            +
                end
         | 
| 159 | 
            +
              end
         | 
| 160 | 
            +
             | 
| 161 | 
            +
              describe 'test attribute "combined_shipping_status"' do
         | 
| 162 | 
            +
                it 'should work' do
         | 
| 163 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 164 | 
            +
                end
         | 
| 165 | 
            +
              end
         | 
| 166 | 
            +
             | 
| 167 | 
            +
              describe 'test attribute "ful_filment_status"' do
         | 
| 168 | 
            +
                it 'should work' do
         | 
| 169 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 170 | 
            +
                end
         | 
| 171 | 
            +
              end
         | 
| 172 | 
            +
             | 
| 173 | 
            +
              describe 'test attribute "combined_invoice_status"' do
         | 
| 174 | 
            +
                it 'should work' do
         | 
| 175 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 176 | 
            +
                end
         | 
| 177 | 
            +
              end
         | 
| 178 | 
            +
             | 
| 179 | 
            +
              describe 'test attribute "credit_note_status"' do
         | 
| 180 | 
            +
                it 'should work' do
         | 
| 181 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 182 | 
            +
                end
         | 
| 183 | 
            +
              end
         | 
| 184 | 
            +
             | 
| 185 | 
            +
              describe 'test attribute "combined_payment_status"' do
         | 
| 186 | 
            +
                it 'should work' do
         | 
| 187 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 188 | 
            +
                end
         | 
| 189 | 
            +
              end
         | 
| 190 | 
            +
             | 
| 191 | 
            +
              describe 'test attribute "type"' do
         | 
| 192 | 
            +
                it 'should work' do
         | 
| 193 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 194 | 
            +
                end
         | 
| 195 | 
            +
              end
         | 
| 196 | 
            +
             | 
| 197 | 
            +
              describe 'test attribute "combined_tracking_numbers"' do
         | 
| 198 | 
            +
                it 'should work' do
         | 
| 199 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 200 | 
            +
                end
         | 
| 201 | 
            +
              end
         | 
| 202 | 
            +
             | 
| 203 | 
            +
              describe 'test attribute "source_channel"' do
         | 
| 204 | 
            +
                it 'should work' do
         | 
| 205 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 206 | 
            +
                end
         | 
| 207 | 
            +
              end
         | 
| 208 | 
            +
             | 
| 209 | 
            +
              describe 'test attribute "external_id"' do
         | 
| 210 | 
            +
                it 'should work' do
         | 
| 211 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 212 | 
            +
                end
         | 
| 213 | 
            +
              end
         | 
| 214 | 
            +
             | 
| 215 | 
            +
              describe 'test attribute "order_location_id"' do
         | 
| 216 | 
            +
                it 'should work' do
         | 
| 217 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 218 | 
            +
                end
         | 
| 219 | 
            +
              end
         | 
| 220 | 
            +
             | 
| 221 | 
            +
            end
         | 
| @@ -0,0 +1,53 @@ | |
| 1 | 
            +
            =begin
         | 
| 2 | 
            +
            #DEAR Inventory API
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            #This specifing endpoints for DEAR Inventory API
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            The version of the OpenAPI document: 2.0.0
         | 
| 7 | 
            +
            Contact: nnhansg@gmail.com
         | 
| 8 | 
            +
            Generated by: https://openapi-generator.tech
         | 
| 9 | 
            +
            OpenAPI Generator version: 4.3.1
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            =end
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            require 'spec_helper'
         | 
| 14 | 
            +
            require 'json'
         | 
| 15 | 
            +
            require 'date'
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            # Unit tests for DearInventoryRuby::SaleList
         | 
| 18 | 
            +
            # Automatically generated by openapi-generator (https://openapi-generator.tech)
         | 
| 19 | 
            +
            # Please update as you see appropriate
         | 
| 20 | 
            +
            describe 'SaleList' do
         | 
| 21 | 
            +
              before do
         | 
| 22 | 
            +
                # run before each test
         | 
| 23 | 
            +
                @instance = DearInventoryRuby::SaleList.new
         | 
| 24 | 
            +
              end
         | 
| 25 | 
            +
             | 
| 26 | 
            +
              after do
         | 
| 27 | 
            +
                # run after each test
         | 
| 28 | 
            +
              end
         | 
| 29 | 
            +
             | 
| 30 | 
            +
              describe 'test an instance of SaleList' do
         | 
| 31 | 
            +
                it 'should create an instance of SaleList' do
         | 
| 32 | 
            +
                  expect(@instance).to be_instance_of(DearInventoryRuby::SaleList)
         | 
| 33 | 
            +
                end
         | 
| 34 | 
            +
              end
         | 
| 35 | 
            +
              describe 'test attribute "total"' do
         | 
| 36 | 
            +
                it 'should work' do
         | 
| 37 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 38 | 
            +
                end
         | 
| 39 | 
            +
              end
         | 
| 40 | 
            +
             | 
| 41 | 
            +
              describe 'test attribute "page"' do
         | 
| 42 | 
            +
                it 'should work' do
         | 
| 43 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 44 | 
            +
                end
         | 
| 45 | 
            +
              end
         | 
| 46 | 
            +
             | 
| 47 | 
            +
              describe 'test attribute "sale_list"' do
         | 
| 48 | 
            +
                it 'should work' do
         | 
| 49 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 50 | 
            +
                end
         | 
| 51 | 
            +
              end
         | 
| 52 | 
            +
             | 
| 53 | 
            +
            end
         | 
| @@ -0,0 +1,77 @@ | |
| 1 | 
            +
            =begin
         | 
| 2 | 
            +
            #DEAR Inventory API
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            #This specifing endpoints for DEAR Inventory API
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            The version of the OpenAPI document: 2.0.0
         | 
| 7 | 
            +
            Contact: nnhansg@gmail.com
         | 
| 8 | 
            +
            Generated by: https://openapi-generator.tech
         | 
| 9 | 
            +
            OpenAPI Generator version: 4.3.1
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            =end
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            require 'spec_helper'
         | 
| 14 | 
            +
            require 'json'
         | 
| 15 | 
            +
            require 'date'
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            # Unit tests for DearInventoryRuby::SalePaymentLine
         | 
| 18 | 
            +
            # Automatically generated by openapi-generator (https://openapi-generator.tech)
         | 
| 19 | 
            +
            # Please update as you see appropriate
         | 
| 20 | 
            +
            describe 'SalePaymentLine' do
         | 
| 21 | 
            +
              before do
         | 
| 22 | 
            +
                # run before each test
         | 
| 23 | 
            +
                @instance = DearInventoryRuby::SalePaymentLine.new
         | 
| 24 | 
            +
              end
         | 
| 25 | 
            +
             | 
| 26 | 
            +
              after do
         | 
| 27 | 
            +
                # run after each test
         | 
| 28 | 
            +
              end
         | 
| 29 | 
            +
             | 
| 30 | 
            +
              describe 'test an instance of SalePaymentLine' do
         | 
| 31 | 
            +
                it 'should create an instance of SalePaymentLine' do
         | 
| 32 | 
            +
                  expect(@instance).to be_instance_of(DearInventoryRuby::SalePaymentLine)
         | 
| 33 | 
            +
                end
         | 
| 34 | 
            +
              end
         | 
| 35 | 
            +
              describe 'test attribute "id"' do
         | 
| 36 | 
            +
                it 'should work' do
         | 
| 37 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 38 | 
            +
                end
         | 
| 39 | 
            +
              end
         | 
| 40 | 
            +
             | 
| 41 | 
            +
              describe 'test attribute "reference"' do
         | 
| 42 | 
            +
                it 'should work' do
         | 
| 43 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 44 | 
            +
                end
         | 
| 45 | 
            +
              end
         | 
| 46 | 
            +
             | 
| 47 | 
            +
              describe 'test attribute "amount"' do
         | 
| 48 | 
            +
                it 'should work' do
         | 
| 49 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 50 | 
            +
                end
         | 
| 51 | 
            +
              end
         | 
| 52 | 
            +
             | 
| 53 | 
            +
              describe 'test attribute "date_paid"' do
         | 
| 54 | 
            +
                it 'should work' do
         | 
| 55 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 56 | 
            +
                end
         | 
| 57 | 
            +
              end
         | 
| 58 | 
            +
             | 
| 59 | 
            +
              describe 'test attribute "account"' do
         | 
| 60 | 
            +
                it 'should work' do
         | 
| 61 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 62 | 
            +
                end
         | 
| 63 | 
            +
              end
         | 
| 64 | 
            +
             | 
| 65 | 
            +
              describe 'test attribute "currency_rate"' do
         | 
| 66 | 
            +
                it 'should work' do
         | 
| 67 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 68 | 
            +
                end
         | 
| 69 | 
            +
              end
         | 
| 70 | 
            +
             | 
| 71 | 
            +
              describe 'test attribute "date_created"' do
         | 
| 72 | 
            +
                it 'should work' do
         | 
| 73 | 
            +
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 74 | 
            +
                end
         | 
| 75 | 
            +
              end
         | 
| 76 | 
            +
             | 
| 77 | 
            +
            end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 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.7
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Nhan Nguyen
         | 
| 8 8 | 
             
            autorequire:
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2022- | 
| 11 | 
            +
            date: 2022-08-17 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: faraday
         | 
| @@ -105,11 +105,15 @@ files: | |
| 105 105 | 
             
            - docs/SaleInvoiceAdditionalCharge.md
         | 
| 106 106 | 
             
            - docs/SaleInvoiceDelete.md
         | 
| 107 107 | 
             
            - docs/SaleInvoiceLine.md
         | 
| 108 | 
            +
            - docs/SaleInvoicePartial.md
         | 
| 108 109 | 
             
            - docs/SaleInvoicePost.md
         | 
| 109 110 | 
             
            - docs/SaleInvoices.md
         | 
| 111 | 
            +
            - docs/SaleItem.md
         | 
| 112 | 
            +
            - docs/SaleList.md
         | 
| 110 113 | 
             
            - docs/SaleOrder.md
         | 
| 111 114 | 
             
            - docs/SaleOrderLine.md
         | 
| 112 115 | 
             
            - docs/SalePayment.md
         | 
| 116 | 
            +
            - docs/SalePaymentLine.md
         | 
| 113 117 | 
             
            - docs/SaleQuote.md
         | 
| 114 118 | 
             
            - docs/SaleQuoteLine.md
         | 
| 115 119 | 
             
            - docs/ShippingAddress.md
         | 
| @@ -147,11 +151,15 @@ files: | |
| 147 151 | 
             
            - lib/dear-inventory-ruby/models/sale_invoice_additional_charge.rb
         | 
| 148 152 | 
             
            - lib/dear-inventory-ruby/models/sale_invoice_delete.rb
         | 
| 149 153 | 
             
            - lib/dear-inventory-ruby/models/sale_invoice_line.rb
         | 
| 154 | 
            +
            - lib/dear-inventory-ruby/models/sale_invoice_partial.rb
         | 
| 150 155 | 
             
            - lib/dear-inventory-ruby/models/sale_invoice_post.rb
         | 
| 151 156 | 
             
            - lib/dear-inventory-ruby/models/sale_invoices.rb
         | 
| 157 | 
            +
            - lib/dear-inventory-ruby/models/sale_item.rb
         | 
| 158 | 
            +
            - lib/dear-inventory-ruby/models/sale_list.rb
         | 
| 152 159 | 
             
            - lib/dear-inventory-ruby/models/sale_order.rb
         | 
| 153 160 | 
             
            - lib/dear-inventory-ruby/models/sale_order_line.rb
         | 
| 154 161 | 
             
            - lib/dear-inventory-ruby/models/sale_payment.rb
         | 
| 162 | 
            +
            - lib/dear-inventory-ruby/models/sale_payment_line.rb
         | 
| 155 163 | 
             
            - lib/dear-inventory-ruby/models/sale_quote.rb
         | 
| 156 164 | 
             
            - lib/dear-inventory-ruby/models/sale_quote_line.rb
         | 
| 157 165 | 
             
            - lib/dear-inventory-ruby/models/shipping_address.rb
         | 
| @@ -186,11 +194,15 @@ files: | |
| 186 194 | 
             
            - spec/models/sale_invoice_additional_charge_spec.rb
         | 
| 187 195 | 
             
            - spec/models/sale_invoice_delete_spec.rb
         | 
| 188 196 | 
             
            - spec/models/sale_invoice_line_spec.rb
         | 
| 197 | 
            +
            - spec/models/sale_invoice_partial_spec.rb
         | 
| 189 198 | 
             
            - spec/models/sale_invoice_post_spec.rb
         | 
| 190 199 | 
             
            - spec/models/sale_invoice_spec.rb
         | 
| 191 200 | 
             
            - spec/models/sale_invoices_spec.rb
         | 
| 201 | 
            +
            - spec/models/sale_item_spec.rb
         | 
| 202 | 
            +
            - spec/models/sale_list_spec.rb
         | 
| 192 203 | 
             
            - spec/models/sale_order_line_spec.rb
         | 
| 193 204 | 
             
            - spec/models/sale_order_spec.rb
         | 
| 205 | 
            +
            - spec/models/sale_payment_line_spec.rb
         | 
| 194 206 | 
             
            - spec/models/sale_payment_spec.rb
         | 
| 195 207 | 
             
            - spec/models/sale_quote_line_spec.rb
         | 
| 196 208 | 
             
            - spec/models/sale_quote_spec.rb
         | 
| @@ -244,17 +256,20 @@ test_files: | |
| 244 256 | 
             
            - spec/models/sale_invoice_post_spec.rb
         | 
| 245 257 | 
             
            - spec/models/external_header_spec.rb
         | 
| 246 258 | 
             
            - spec/models/tax_component_spec.rb
         | 
| 259 | 
            +
            - spec/models/sale_list_spec.rb
         | 
| 247 260 | 
             
            - spec/models/sale_invoice_line_spec.rb
         | 
| 248 261 | 
             
            - spec/models/supplier_customer_address_spec.rb
         | 
| 249 262 | 
             
            - spec/models/payment_term_spec.rb
         | 
| 250 263 | 
             
            - spec/models/payment_terms_spec.rb
         | 
| 251 264 | 
             
            - spec/models/sale_invoice_spec.rb
         | 
| 265 | 
            +
            - spec/models/sale_invoice_partial_spec.rb
         | 
| 252 266 | 
             
            - spec/models/sale_order_line_spec.rb
         | 
| 253 267 | 
             
            - spec/models/customers_spec.rb
         | 
| 254 268 | 
             
            - spec/models/customer_spec.rb
         | 
| 255 269 | 
             
            - spec/models/sale_invoice_delete_spec.rb
         | 
| 256 270 | 
             
            - spec/models/sale_payment_spec.rb
         | 
| 257 271 | 
             
            - spec/models/sale_additional_charge_spec.rb
         | 
| 272 | 
            +
            - spec/models/sale_item_spec.rb
         | 
| 258 273 | 
             
            - spec/models/sale_spec.rb
         | 
| 259 274 | 
             
            - spec/models/webhook_type_spec.rb
         | 
| 260 275 | 
             
            - spec/models/taxes_spec.rb
         | 
| @@ -269,6 +284,7 @@ test_files: | |
| 269 284 | 
             
            - spec/models/sale_quote_line_spec.rb
         | 
| 270 285 | 
             
            - spec/models/webhooks_spec.rb
         | 
| 271 286 | 
             
            - spec/models/success_spec.rb
         | 
| 287 | 
            +
            - spec/models/sale_payment_line_spec.rb
         | 
| 272 288 | 
             
            - spec/models/price_tier_spec.rb
         | 
| 273 289 | 
             
            - spec/models/address_spec.rb
         | 
| 274 290 | 
             
            - spec/models/price_tiers_spec.rb
         |