beanie 0.2.0 → 0.2.2
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/README.md +229 -12
- data/beanie.gemspec +1 -1
- data/docs/AddressBlock.md +8 -0
- data/docs/AddressBlockApi.md +175 -0
- data/docs/AddressBlockInput.md +8 -0
- data/docs/AddressBlocksApi.md +117 -0
- data/docs/BankAccount.md +3 -3
- data/docs/BankAccountApi.md +24 -3
- data/docs/BankAccountInput.md +2 -3
- data/docs/BankStatement.md +8 -0
- data/docs/BankStatementApi.md +175 -0
- data/docs/BankStatementData.md +8 -0
- data/docs/BankStatementDataInput.md +8 -0
- data/docs/BankStatementInput.md +8 -0
- data/docs/BankStatementsApi.md +117 -0
- data/docs/BeanieTask.md +8 -0
- data/docs/BeanieTaskApi.md +175 -0
- data/docs/BeanieTaskInput.md +8 -0
- data/docs/BeanieTasksApi.md +117 -0
- data/docs/BillOfMaterial.md +8 -0
- data/docs/BillOfMaterialApi.md +66 -0
- data/docs/BillOfMaterialInput.md +8 -0
- data/docs/BillOfMaterialsApi.md +175 -0
- data/docs/Billable.md +8 -0
- data/docs/BillableApi.md +175 -0
- data/docs/BillableInput.md +8 -0
- data/docs/BillablesApi.md +117 -0
- data/docs/BomItem.md +8 -0
- data/docs/BomItemInput.md +8 -0
- data/docs/CompaniesApi.md +63 -0
- data/docs/Company.md +8 -0
- data/docs/CompanyApi.md +63 -0
- data/docs/Customer.md +8 -0
- data/docs/CustomerAddress.md +8 -0
- data/docs/CustomerAddressApi.md +175 -0
- data/docs/CustomerAddressInput.md +8 -0
- data/docs/CustomerAddressesApi.md +117 -0
- data/docs/CustomerApi.md +175 -0
- data/docs/CustomerInput.md +8 -0
- data/docs/CustomerLedger.md +8 -0
- data/docs/CustomerLedgerInput.md +8 -0
- data/docs/CustomerNote.md +8 -0
- data/docs/CustomerNoteInput.md +8 -0
- data/docs/CustomersApi.md +117 -0
- data/docs/DeliveryNote.md +8 -0
- data/docs/DeliveryNoteApi.md +175 -0
- data/docs/DeliveryNoteInput.md +8 -0
- data/docs/DeliveryNoteItem.md +8 -0
- data/docs/DeliveryNoteItemInput.md +8 -0
- data/docs/DeliveryNotesApi.md +117 -0
- data/docs/Document.md +8 -0
- data/docs/DocumentApi.md +175 -0
- data/docs/DocumentInput.md +8 -0
- data/docs/DocumentsApi.md +117 -0
- data/docs/FixedAsset.md +8 -0
- data/docs/FixedAssetApi.md +175 -0
- data/docs/FixedAssetInput.md +8 -0
- data/docs/FixedAssetsApi.md +117 -0
- data/docs/Journal.md +8 -0
- data/docs/JournalApi.md +175 -0
- data/docs/JournalInput.md +8 -0
- data/docs/JournalItem.md +8 -0
- data/docs/JournalItemInput.md +8 -0
- data/docs/JournalsApi.md +117 -0
- data/docs/NominalAccount.md +8 -0
- data/docs/NominalAccountApi.md +175 -0
- data/docs/NominalAccountCategoriesApi.md +117 -0
- data/docs/NominalAccountCategory.md +8 -0
- data/docs/NominalAccountCategoryApi.md +175 -0
- data/docs/NominalAccountCategoryInput.md +8 -0
- data/docs/NominalAccountInput.md +8 -0
- data/docs/NominalAccountsApi.md +117 -0
- data/docs/Product.md +8 -0
- data/docs/ProductApi.md +175 -0
- data/docs/ProductCategoriesApi.md +117 -0
- data/docs/ProductCategory.md +8 -0
- data/docs/ProductCategoryApi.md +175 -0
- data/docs/ProductCategoryInput.md +8 -0
- data/docs/ProductInput.md +8 -0
- data/docs/ProductPrice.md +8 -0
- data/docs/ProductPriceApi.md +175 -0
- data/docs/ProductPriceInput.md +8 -0
- data/docs/ProductPricesApi.md +117 -0
- data/docs/ProductVariant.md +8 -0
- data/docs/ProductVariantApi.md +175 -0
- data/docs/ProductVariantInput.md +8 -0
- data/docs/ProductVariantsApi.md +117 -0
- data/docs/ProductionOrder.md +8 -0
- data/docs/ProductionOrderApi.md +175 -0
- data/docs/ProductionOrderInput.md +8 -0
- data/docs/ProductionOrderLog.md +8 -0
- data/docs/ProductionOrderLogInput.md +8 -0
- data/docs/ProductionOrdersApi.md +117 -0
- data/docs/ProductsApi.md +117 -0
- data/docs/PurchaseInvoice.md +8 -0
- data/docs/PurchaseInvoiceApi.md +175 -0
- data/docs/PurchaseInvoiceInput.md +8 -0
- data/docs/PurchaseInvoicesApi.md +117 -0
- data/docs/PurchaseOrder.md +8 -0
- data/docs/PurchaseOrderApi.md +175 -0
- data/docs/PurchaseOrderInput.md +8 -0
- data/docs/PurchaseOrderItem.md +8 -0
- data/docs/PurchaseOrderItemInput.md +8 -0
- data/docs/PurchaseOrdersApi.md +117 -0
- data/docs/ReceivedGoods.md +8 -0
- data/docs/ReceivedGoodsApi.md +175 -0
- data/docs/ReceivedGoodsInput.md +8 -0
- data/docs/SalesInvoice.md +8 -0
- data/docs/SalesInvoiceApi.md +175 -0
- data/docs/SalesInvoiceInput.md +8 -0
- data/docs/SalesInvoiceItem.md +8 -0
- data/docs/SalesInvoiceItemInput.md +8 -0
- data/docs/SalesInvoicesApi.md +117 -0
- data/docs/SalesOrder.md +8 -0
- data/docs/SalesOrderApi.md +175 -0
- data/docs/SalesOrderInput.md +8 -0
- data/docs/SalesOrderItem.md +8 -0
- data/docs/SalesOrderItemInput.md +8 -0
- data/docs/SalesOrdersApi.md +117 -0
- data/docs/ShippingCentre.md +8 -0
- data/docs/ShippingCentreApi.md +175 -0
- data/docs/ShippingCentreInput.md +8 -0
- data/docs/ShippingCentresApi.md +117 -0
- data/docs/StockAdjustment.md +8 -0
- data/docs/StockAdjustmentApi.md +175 -0
- data/docs/StockAdjustmentInput.md +8 -0
- data/docs/StockAdjustmentsApi.md +117 -0
- data/docs/StockCategoriesApi.md +117 -0
- data/docs/StockCategory.md +8 -0
- data/docs/StockCategoryApi.md +175 -0
- data/docs/StockCategoryInput.md +8 -0
- data/docs/StockImage.md +8 -0
- data/docs/StockImageApi.md +175 -0
- data/docs/StockImageInput.md +8 -0
- data/docs/StockImagesApi.md +117 -0
- data/docs/StockItem.md +8 -0
- data/docs/StockItemApi.md +175 -0
- data/docs/StockItemInput.md +8 -0
- data/docs/StockItemsApi.md +117 -0
- data/docs/StockLocation.md +8 -0
- data/docs/StockLocationApi.md +175 -0
- data/docs/StockLocationInput.md +8 -0
- data/docs/StockLocationsApi.md +117 -0
- data/docs/StockSupplier.md +8 -0
- data/docs/StockSupplierApi.md +175 -0
- data/docs/StockSupplierInput.md +8 -0
- data/docs/StockSuppliersApi.md +117 -0
- data/docs/Supplier.md +8 -0
- data/docs/SupplierAddress.md +8 -0
- data/docs/SupplierAddressApi.md +175 -0
- data/docs/SupplierAddressInput.md +8 -0
- data/docs/SupplierAddressesApi.md +117 -0
- data/docs/SupplierApi.md +175 -0
- data/docs/SupplierInput.md +8 -0
- data/docs/SupplierNote.md +8 -0
- data/docs/SupplierNoteInput.md +8 -0
- data/docs/SuppliersApi.md +117 -0
- data/docs/VatRecord.md +8 -0
- data/docs/VatRecordApi.md +175 -0
- data/docs/VatRecordInput.md +9 -0
- data/docs/VatRecordsApi.md +117 -0
- data/docs/VatReturn.md +8 -0
- data/docs/VatReturnApi.md +175 -0
- data/docs/VatReturnInput.md +8 -0
- data/docs/VatReturnsApi.md +117 -0
- data/docs/WorkCentre.md +8 -0
- data/docs/WorkCentreApi.md +175 -0
- data/docs/WorkCentreGroup.md +8 -0
- data/docs/WorkCentreGroupApi.md +175 -0
- data/docs/WorkCentreGroupInput.md +8 -0
- data/docs/WorkCentreGroupsApi.md +117 -0
- data/docs/WorkCentreInput.md +8 -0
- data/docs/WorkCentresApi.md +117 -0
- data/lib/beanie.rb +135 -3
- data/lib/beanie/api/address_block_api.rb +183 -0
- data/lib/beanie/api/bank_account_api.rb +4 -4
- data/lib/beanie/api/bank_statement_api.rb +183 -0
- data/lib/beanie/api/beanie_task_api.rb +183 -0
- data/lib/beanie/api/bill_of_materials_api.rb +183 -0
- data/lib/beanie/api/billable_api.rb +183 -0
- data/lib/beanie/api/company_api.rb +77 -0
- data/lib/beanie/api/customer_address_api.rb +183 -0
- data/lib/beanie/api/customer_api.rb +183 -0
- data/lib/beanie/api/delivery_note_api.rb +183 -0
- data/lib/beanie/api/document_api.rb +183 -0
- data/lib/beanie/api/fixed_asset_api.rb +183 -0
- data/lib/beanie/api/journal_api.rb +183 -0
- data/lib/beanie/api/nominal_account_api.rb +183 -0
- data/lib/beanie/api/nominal_account_category_api.rb +183 -0
- data/lib/beanie/api/product_api.rb +183 -0
- data/lib/beanie/api/product_category_api.rb +183 -0
- data/lib/beanie/api/product_price_api.rb +183 -0
- data/lib/beanie/api/product_variant_api.rb +183 -0
- data/lib/beanie/api/production_order_api.rb +183 -0
- data/lib/beanie/api/purchase_invoice_api.rb +183 -0
- data/lib/beanie/api/purchase_order_api.rb +183 -0
- data/lib/beanie/api/received_goods_api.rb +183 -0
- data/lib/beanie/api/sales_invoice_api.rb +183 -0
- data/lib/beanie/api/sales_order_api.rb +183 -0
- data/lib/beanie/api/shipping_centre_api.rb +183 -0
- data/lib/beanie/api/stock_adjustment_api.rb +183 -0
- data/lib/beanie/api/stock_category_api.rb +183 -0
- data/lib/beanie/api/stock_image_api.rb +183 -0
- data/lib/beanie/api/stock_item_api.rb +183 -0
- data/lib/beanie/api/stock_location_api.rb +183 -0
- data/lib/beanie/api/stock_supplier_api.rb +183 -0
- data/lib/beanie/api/supplier_address_api.rb +183 -0
- data/lib/beanie/api/supplier_api.rb +183 -0
- data/lib/beanie/api/vat_record_api.rb +183 -0
- data/lib/beanie/api/vat_return_api.rb +183 -0
- data/lib/beanie/api/work_centre_api.rb +183 -0
- data/lib/beanie/api/work_centre_group_api.rb +183 -0
- data/lib/beanie/api_client.rb +3 -2
- data/lib/beanie/api_error.rb +1 -1
- data/lib/beanie/configuration.rb +8 -1
- data/lib/beanie/models/address_block.rb +188 -0
- data/lib/beanie/models/address_block_input.rb +188 -0
- data/lib/beanie/models/bank_account.rb +34 -35
- data/lib/beanie/models/bank_account_input.rb +23 -31
- data/lib/beanie/models/bank_statement.rb +188 -0
- data/lib/beanie/models/bank_statement_data.rb +188 -0
- data/lib/beanie/models/bank_statement_data_input.rb +188 -0
- data/lib/beanie/models/bank_statement_input.rb +188 -0
- data/lib/beanie/models/beanie_task.rb +188 -0
- data/lib/beanie/models/beanie_task_input.rb +188 -0
- data/lib/beanie/models/bill_of_material.rb +188 -0
- data/lib/beanie/models/bill_of_material_input.rb +188 -0
- data/lib/beanie/models/billable.rb +188 -0
- data/lib/beanie/models/billable_input.rb +188 -0
- data/lib/beanie/models/bom_item.rb +188 -0
- data/lib/beanie/models/bom_item_input.rb +188 -0
- data/lib/beanie/models/company.rb +188 -0
- data/lib/beanie/models/customer.rb +188 -0
- data/lib/beanie/models/customer_address.rb +188 -0
- data/lib/beanie/models/customer_address_input.rb +188 -0
- data/lib/beanie/models/customer_input.rb +188 -0
- data/lib/beanie/models/customer_ledger.rb +188 -0
- data/lib/beanie/models/customer_ledger_input.rb +188 -0
- data/lib/beanie/models/customer_note.rb +188 -0
- data/lib/beanie/models/customer_note_input.rb +188 -0
- data/lib/beanie/models/delivery_note.rb +188 -0
- data/lib/beanie/models/delivery_note_input.rb +188 -0
- data/lib/beanie/models/delivery_note_item.rb +188 -0
- data/lib/beanie/models/delivery_note_item_input.rb +188 -0
- data/lib/beanie/models/document.rb +188 -0
- data/lib/beanie/models/document_input.rb +188 -0
- data/lib/beanie/models/error_model.rb +1 -1
- data/lib/beanie/models/fixed_asset.rb +188 -0
- data/lib/beanie/models/fixed_asset_input.rb +188 -0
- data/lib/beanie/models/journal.rb +188 -0
- data/lib/beanie/models/journal_input.rb +188 -0
- data/lib/beanie/models/journal_item.rb +188 -0
- data/lib/beanie/models/journal_item_input.rb +188 -0
- data/lib/beanie/models/nominal_account.rb +188 -0
- data/lib/beanie/models/nominal_account_category.rb +188 -0
- data/lib/beanie/models/nominal_account_category_input.rb +188 -0
- data/lib/beanie/models/nominal_account_input.rb +188 -0
- data/lib/beanie/models/product.rb +188 -0
- data/lib/beanie/models/product_category.rb +188 -0
- data/lib/beanie/models/product_category_input.rb +188 -0
- data/lib/beanie/models/product_input.rb +188 -0
- data/lib/beanie/models/product_price.rb +188 -0
- data/lib/beanie/models/product_price_input.rb +188 -0
- data/lib/beanie/models/product_variant.rb +188 -0
- data/lib/beanie/models/product_variant_input.rb +188 -0
- data/lib/beanie/models/production_order.rb +188 -0
- data/lib/beanie/models/production_order_input.rb +188 -0
- data/lib/beanie/models/production_order_log.rb +188 -0
- data/lib/beanie/models/production_order_log_input.rb +188 -0
- data/lib/beanie/models/purchase_invoice.rb +188 -0
- data/lib/beanie/models/purchase_invoice_input.rb +188 -0
- data/lib/beanie/models/purchase_order.rb +188 -0
- data/lib/beanie/models/purchase_order_input.rb +188 -0
- data/lib/beanie/models/purchase_order_item.rb +188 -0
- data/lib/beanie/models/purchase_order_item_input.rb +188 -0
- data/lib/beanie/models/received_goods.rb +188 -0
- data/lib/beanie/models/received_goods_input.rb +188 -0
- data/lib/beanie/models/sales_invoice.rb +188 -0
- data/lib/beanie/models/sales_invoice_input.rb +188 -0
- data/lib/beanie/models/sales_invoice_item.rb +188 -0
- data/lib/beanie/models/sales_invoice_item_input.rb +188 -0
- data/lib/beanie/models/sales_order.rb +188 -0
- data/lib/beanie/models/sales_order_input.rb +188 -0
- data/lib/beanie/models/sales_order_item.rb +188 -0
- data/lib/beanie/models/sales_order_item_input.rb +188 -0
- data/lib/beanie/models/shipping_centre.rb +188 -0
- data/lib/beanie/models/shipping_centre_input.rb +188 -0
- data/lib/beanie/models/stock_adjustment.rb +188 -0
- data/lib/beanie/models/stock_adjustment_input.rb +188 -0
- data/lib/beanie/models/stock_category.rb +188 -0
- data/lib/beanie/models/stock_category_input.rb +188 -0
- data/lib/beanie/models/stock_image.rb +188 -0
- data/lib/beanie/models/stock_image_input.rb +188 -0
- data/lib/beanie/models/stock_item.rb +188 -0
- data/lib/beanie/models/stock_item_input.rb +188 -0
- data/lib/beanie/models/stock_location.rb +188 -0
- data/lib/beanie/models/stock_location_input.rb +188 -0
- data/lib/beanie/models/stock_supplier.rb +188 -0
- data/lib/beanie/models/stock_supplier_input.rb +188 -0
- data/lib/beanie/models/supplier.rb +188 -0
- data/lib/beanie/models/supplier_address.rb +188 -0
- data/lib/beanie/models/supplier_address_input.rb +188 -0
- data/lib/beanie/models/supplier_input.rb +188 -0
- data/lib/beanie/models/supplier_note.rb +188 -0
- data/lib/beanie/models/supplier_note_input.rb +188 -0
- data/lib/beanie/models/vat_record.rb +188 -0
- data/lib/beanie/models/vat_record_input.rb +202 -0
- data/lib/beanie/models/vat_return.rb +188 -0
- data/lib/beanie/models/vat_return_input.rb +188 -0
- data/lib/beanie/models/work_centre.rb +188 -0
- data/lib/beanie/models/work_centre_group.rb +188 -0
- data/lib/beanie/models/work_centre_group_input.rb +188 -0
- data/lib/beanie/models/work_centre_input.rb +188 -0
- data/lib/beanie/version.rb +2 -2
- data/spec/api/address_block_api_spec.rb +71 -0
- data/spec/api/bank_account_api_spec.rb +1 -1
- data/spec/api/bank_statement_api_spec.rb +71 -0
- data/spec/api/beanie_task_api_spec.rb +71 -0
- data/spec/api/bill_of_materials_api_spec.rb +71 -0
- data/spec/api/billable_api_spec.rb +71 -0
- data/spec/api/company_api_spec.rb +47 -0
- data/spec/api/customer_address_api_spec.rb +71 -0
- data/spec/api/customer_api_spec.rb +71 -0
- data/spec/api/delivery_note_api_spec.rb +71 -0
- data/spec/api/document_api_spec.rb +71 -0
- data/spec/api/fixed_asset_api_spec.rb +71 -0
- data/spec/api/journal_api_spec.rb +71 -0
- data/spec/api/nominal_account_api_spec.rb +71 -0
- data/spec/api/nominal_account_category_api_spec.rb +71 -0
- data/spec/api/product_api_spec.rb +71 -0
- data/spec/api/product_category_api_spec.rb +71 -0
- data/spec/api/product_price_api_spec.rb +71 -0
- data/spec/api/product_variant_api_spec.rb +71 -0
- data/spec/api/production_order_api_spec.rb +71 -0
- data/spec/api/purchase_invoice_api_spec.rb +71 -0
- data/spec/api/purchase_order_api_spec.rb +71 -0
- data/spec/api/received_goods_api_spec.rb +71 -0
- data/spec/api/sales_invoice_api_spec.rb +71 -0
- data/spec/api/sales_order_api_spec.rb +71 -0
- data/spec/api/shipping_centre_api_spec.rb +71 -0
- data/spec/api/stock_adjustment_api_spec.rb +71 -0
- data/spec/api/stock_category_api_spec.rb +71 -0
- data/spec/api/stock_image_api_spec.rb +71 -0
- data/spec/api/stock_item_api_spec.rb +71 -0
- data/spec/api/stock_location_api_spec.rb +71 -0
- data/spec/api/stock_supplier_api_spec.rb +71 -0
- data/spec/api/supplier_address_api_spec.rb +71 -0
- data/spec/api/supplier_api_spec.rb +71 -0
- data/spec/api/vat_record_api_spec.rb +71 -0
- data/spec/api/vat_return_api_spec.rb +71 -0
- data/spec/api/work_centre_api_spec.rb +71 -0
- data/spec/api/work_centre_group_api_spec.rb +71 -0
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/address_block_input_spec.rb +41 -0
- data/spec/models/address_block_spec.rb +41 -0
- data/spec/models/bank_account_input_spec.rb +3 -9
- data/spec/models/bank_account_spec.rb +9 -9
- data/spec/models/bank_statement_data_input_spec.rb +41 -0
- data/spec/models/bank_statement_data_spec.rb +41 -0
- data/spec/models/bank_statement_input_spec.rb +41 -0
- data/spec/models/bank_statement_spec.rb +41 -0
- data/spec/models/beanie_task_input_spec.rb +41 -0
- data/spec/models/beanie_task_spec.rb +41 -0
- data/spec/models/bill_of_material_input_spec.rb +41 -0
- data/spec/models/bill_of_material_spec.rb +41 -0
- data/spec/models/billable_input_spec.rb +41 -0
- data/spec/models/billable_spec.rb +41 -0
- data/spec/models/bom_item_input_spec.rb +41 -0
- data/spec/models/bom_item_spec.rb +41 -0
- data/spec/models/company_spec.rb +41 -0
- data/spec/models/customer_address_input_spec.rb +41 -0
- data/spec/models/customer_address_spec.rb +41 -0
- data/spec/models/customer_input_spec.rb +41 -0
- data/spec/models/customer_ledger_input_spec.rb +41 -0
- data/spec/models/customer_ledger_spec.rb +41 -0
- data/spec/models/customer_note_input_spec.rb +41 -0
- data/spec/models/customer_note_spec.rb +41 -0
- data/spec/models/customer_spec.rb +41 -0
- data/spec/models/delivery_note_input_spec.rb +41 -0
- data/spec/models/delivery_note_item_input_spec.rb +41 -0
- data/spec/models/delivery_note_item_spec.rb +41 -0
- data/spec/models/delivery_note_spec.rb +41 -0
- data/spec/models/document_input_spec.rb +41 -0
- data/spec/models/document_spec.rb +41 -0
- data/spec/models/error_model_spec.rb +1 -1
- data/spec/models/fixed_asset_input_spec.rb +41 -0
- data/spec/models/fixed_asset_spec.rb +41 -0
- data/spec/models/journal_input_spec.rb +41 -0
- data/spec/models/journal_item_input_spec.rb +41 -0
- data/spec/models/journal_item_spec.rb +41 -0
- data/spec/models/journal_spec.rb +41 -0
- data/spec/models/nominal_account_category_input_spec.rb +41 -0
- data/spec/models/nominal_account_category_spec.rb +41 -0
- data/spec/models/nominal_account_input_spec.rb +41 -0
- data/spec/models/nominal_account_spec.rb +41 -0
- data/spec/models/product_category_input_spec.rb +41 -0
- data/spec/models/product_category_spec.rb +41 -0
- data/spec/models/product_input_spec.rb +41 -0
- data/spec/models/product_price_input_spec.rb +41 -0
- data/spec/models/product_price_spec.rb +41 -0
- data/spec/models/product_spec.rb +41 -0
- data/spec/models/product_variant_input_spec.rb +41 -0
- data/spec/models/product_variant_spec.rb +41 -0
- data/spec/models/production_order_input_spec.rb +41 -0
- data/spec/models/production_order_log_input_spec.rb +41 -0
- data/spec/models/production_order_log_spec.rb +41 -0
- data/spec/models/production_order_spec.rb +41 -0
- data/spec/models/purchase_invoice_input_spec.rb +41 -0
- data/spec/models/purchase_invoice_spec.rb +41 -0
- data/spec/models/purchase_order_input_spec.rb +41 -0
- data/spec/models/purchase_order_item_input_spec.rb +41 -0
- data/spec/models/purchase_order_item_spec.rb +41 -0
- data/spec/models/purchase_order_spec.rb +41 -0
- data/spec/models/received_goods_input_spec.rb +41 -0
- data/spec/models/received_goods_spec.rb +41 -0
- data/spec/models/sales_invoice_input_spec.rb +41 -0
- data/spec/models/sales_invoice_item_input_spec.rb +41 -0
- data/spec/models/sales_invoice_item_spec.rb +41 -0
- data/spec/models/sales_invoice_spec.rb +41 -0
- data/spec/models/sales_order_input_spec.rb +41 -0
- data/spec/models/sales_order_item_input_spec.rb +41 -0
- data/spec/models/sales_order_item_spec.rb +41 -0
- data/spec/models/sales_order_spec.rb +41 -0
- data/spec/models/shipping_centre_input_spec.rb +41 -0
- data/spec/models/shipping_centre_spec.rb +41 -0
- data/spec/models/stock_adjustment_input_spec.rb +41 -0
- data/spec/models/stock_adjustment_spec.rb +41 -0
- data/spec/models/stock_category_input_spec.rb +41 -0
- data/spec/models/stock_category_spec.rb +41 -0
- data/spec/models/stock_image_input_spec.rb +41 -0
- data/spec/models/stock_image_spec.rb +41 -0
- data/spec/models/stock_item_input_spec.rb +41 -0
- data/spec/models/stock_item_spec.rb +41 -0
- data/spec/models/stock_location_input_spec.rb +41 -0
- data/spec/models/stock_location_spec.rb +41 -0
- data/spec/models/stock_supplier_input_spec.rb +41 -0
- data/spec/models/stock_supplier_spec.rb +41 -0
- data/spec/models/supplier_address_input_spec.rb +41 -0
- data/spec/models/supplier_address_spec.rb +41 -0
- data/spec/models/supplier_input_spec.rb +41 -0
- data/spec/models/supplier_note_input_spec.rb +41 -0
- data/spec/models/supplier_note_spec.rb +41 -0
- data/spec/models/supplier_spec.rb +41 -0
- data/spec/models/vat_record_input_spec.rb +47 -0
- data/spec/models/vat_record_spec.rb +41 -0
- data/spec/models/vat_return_input_spec.rb +41 -0
- data/spec/models/vat_return_spec.rb +41 -0
- data/spec/models/work_centre_group_input_spec.rb +41 -0
- data/spec/models/work_centre_group_spec.rb +41 -0
- data/spec/models/work_centre_input_spec.rb +41 -0
- data/spec/models/work_centre_spec.rb +41 -0
- data/spec/spec_helper.rb +1 -1
- metadata +565 -1
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Beanie ERP API
|
|
3
|
+
|
|
4
|
+
#An API specification for interacting with the Beanie ERP system
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 0.2
|
|
7
|
+
Contact: dev@bean.ie
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for Beanie::CustomerApi
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'CustomerApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = Beanie::CustomerApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of CustomerApi' do
|
|
30
|
+
it 'should create an instance of CustomerApi' do
|
|
31
|
+
expect(@instance).to be_instance_of(Beanie::CustomerApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for add_customer
|
|
36
|
+
# Creates a new customer in the system
|
|
37
|
+
# @param customers Customer to add to the system
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @return [Customer]
|
|
40
|
+
describe 'add_customer test' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# unit tests for find_customer_by_id
|
|
47
|
+
# Find Customer by ID
|
|
48
|
+
# Returns a single customer if the user has access
|
|
49
|
+
# @param id ID of customer to fetch
|
|
50
|
+
# @param [Hash] opts the optional parameters
|
|
51
|
+
# @return [Customer]
|
|
52
|
+
describe 'find_customer_by_id test' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# unit tests for find_customers
|
|
59
|
+
# All customer
|
|
60
|
+
# Returns all customer from the system that the user has access to
|
|
61
|
+
# @param [Hash] opts the optional parameters
|
|
62
|
+
# @option opts [Array<String>] :tags tags to filter by
|
|
63
|
+
# @option opts [Integer] :limit Maximum number of results to return
|
|
64
|
+
# @return [Array<Customer>]
|
|
65
|
+
describe 'find_customers test' 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
|
+
end
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Beanie ERP API
|
|
3
|
+
|
|
4
|
+
#An API specification for interacting with the Beanie ERP system
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 0.2
|
|
7
|
+
Contact: dev@bean.ie
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for Beanie::DeliveryNoteApi
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'DeliveryNoteApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = Beanie::DeliveryNoteApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of DeliveryNoteApi' do
|
|
30
|
+
it 'should create an instance of DeliveryNoteApi' do
|
|
31
|
+
expect(@instance).to be_instance_of(Beanie::DeliveryNoteApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for add_delivery_note
|
|
36
|
+
# Creates a new delivery note in the system
|
|
37
|
+
# @param delivery_notes Delivery note to add to the system
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @return [DeliveryNote]
|
|
40
|
+
describe 'add_delivery_note test' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# unit tests for find_delivery_note_by_id
|
|
47
|
+
# Find Delivery note by ID
|
|
48
|
+
# Returns a single delivery note if the user has access
|
|
49
|
+
# @param id ID of delivery note to fetch
|
|
50
|
+
# @param [Hash] opts the optional parameters
|
|
51
|
+
# @return [DeliveryNote]
|
|
52
|
+
describe 'find_delivery_note_by_id test' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# unit tests for find_delivery_notes
|
|
59
|
+
# All delivery note
|
|
60
|
+
# Returns all delivery note from the system that the user has access to
|
|
61
|
+
# @param [Hash] opts the optional parameters
|
|
62
|
+
# @option opts [Array<String>] :tags tags to filter by
|
|
63
|
+
# @option opts [Integer] :limit Maximum number of results to return
|
|
64
|
+
# @return [Array<DeliveryNote>]
|
|
65
|
+
describe 'find_delivery_notes test' 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
|
+
end
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Beanie ERP API
|
|
3
|
+
|
|
4
|
+
#An API specification for interacting with the Beanie ERP system
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 0.2
|
|
7
|
+
Contact: dev@bean.ie
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for Beanie::DocumentApi
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'DocumentApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = Beanie::DocumentApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of DocumentApi' do
|
|
30
|
+
it 'should create an instance of DocumentApi' do
|
|
31
|
+
expect(@instance).to be_instance_of(Beanie::DocumentApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for add_document
|
|
36
|
+
# Creates a new document in the system
|
|
37
|
+
# @param documents Document to add to the system
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @return [Document]
|
|
40
|
+
describe 'add_document test' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# unit tests for find_document_by_id
|
|
47
|
+
# Find Document by ID
|
|
48
|
+
# Returns a single document if the user has access
|
|
49
|
+
# @param id ID of document to fetch
|
|
50
|
+
# @param [Hash] opts the optional parameters
|
|
51
|
+
# @return [Document]
|
|
52
|
+
describe 'find_document_by_id test' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# unit tests for find_documents
|
|
59
|
+
# All document
|
|
60
|
+
# Returns all document from the system that the user has access to
|
|
61
|
+
# @param [Hash] opts the optional parameters
|
|
62
|
+
# @option opts [Array<String>] :tags tags to filter by
|
|
63
|
+
# @option opts [Integer] :limit Maximum number of results to return
|
|
64
|
+
# @return [Array<Document>]
|
|
65
|
+
describe 'find_documents test' 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
|
+
end
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Beanie ERP API
|
|
3
|
+
|
|
4
|
+
#An API specification for interacting with the Beanie ERP system
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 0.2
|
|
7
|
+
Contact: dev@bean.ie
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for Beanie::FixedAssetApi
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'FixedAssetApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = Beanie::FixedAssetApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of FixedAssetApi' do
|
|
30
|
+
it 'should create an instance of FixedAssetApi' do
|
|
31
|
+
expect(@instance).to be_instance_of(Beanie::FixedAssetApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for add_fixed_asset
|
|
36
|
+
# Creates a new fixed asset in the system
|
|
37
|
+
# @param fixed_assets Fixed asset to add to the system
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @return [FixedAsset]
|
|
40
|
+
describe 'add_fixed_asset test' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# unit tests for find_fixed_asset_by_id
|
|
47
|
+
# Find Fixed asset by ID
|
|
48
|
+
# Returns a single fixed asset if the user has access
|
|
49
|
+
# @param id ID of fixed asset to fetch
|
|
50
|
+
# @param [Hash] opts the optional parameters
|
|
51
|
+
# @return [FixedAsset]
|
|
52
|
+
describe 'find_fixed_asset_by_id test' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# unit tests for find_fixed_assets
|
|
59
|
+
# All fixed asset
|
|
60
|
+
# Returns all fixed asset from the system that the user has access to
|
|
61
|
+
# @param [Hash] opts the optional parameters
|
|
62
|
+
# @option opts [Array<String>] :tags tags to filter by
|
|
63
|
+
# @option opts [Integer] :limit Maximum number of results to return
|
|
64
|
+
# @return [Array<FixedAsset>]
|
|
65
|
+
describe 'find_fixed_assets test' 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
|
+
end
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Beanie ERP API
|
|
3
|
+
|
|
4
|
+
#An API specification for interacting with the Beanie ERP system
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 0.2
|
|
7
|
+
Contact: dev@bean.ie
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for Beanie::JournalApi
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'JournalApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = Beanie::JournalApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of JournalApi' do
|
|
30
|
+
it 'should create an instance of JournalApi' do
|
|
31
|
+
expect(@instance).to be_instance_of(Beanie::JournalApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for add_journal
|
|
36
|
+
# Creates a new journal in the system
|
|
37
|
+
# @param journals Journal to add to the system
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @return [Journal]
|
|
40
|
+
describe 'add_journal test' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# unit tests for find_journal_by_id
|
|
47
|
+
# Find Journal by ID
|
|
48
|
+
# Returns a single journal if the user has access
|
|
49
|
+
# @param id ID of journal to fetch
|
|
50
|
+
# @param [Hash] opts the optional parameters
|
|
51
|
+
# @return [Journal]
|
|
52
|
+
describe 'find_journal_by_id test' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# unit tests for find_journals
|
|
59
|
+
# All journal
|
|
60
|
+
# Returns all journal from the system that the user has access to
|
|
61
|
+
# @param [Hash] opts the optional parameters
|
|
62
|
+
# @option opts [Array<String>] :tags tags to filter by
|
|
63
|
+
# @option opts [Integer] :limit Maximum number of results to return
|
|
64
|
+
# @return [Array<Journal>]
|
|
65
|
+
describe 'find_journals test' 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
|
+
end
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Beanie ERP API
|
|
3
|
+
|
|
4
|
+
#An API specification for interacting with the Beanie ERP system
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 0.2
|
|
7
|
+
Contact: dev@bean.ie
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for Beanie::NominalAccountApi
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'NominalAccountApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = Beanie::NominalAccountApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of NominalAccountApi' do
|
|
30
|
+
it 'should create an instance of NominalAccountApi' do
|
|
31
|
+
expect(@instance).to be_instance_of(Beanie::NominalAccountApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for add_nominal_account
|
|
36
|
+
# Creates a new nominal account in the system
|
|
37
|
+
# @param nominal_accounts Nominal account to add to the system
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @return [NominalAccount]
|
|
40
|
+
describe 'add_nominal_account test' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# unit tests for find_nominal_account_by_id
|
|
47
|
+
# Find Nominal account by ID
|
|
48
|
+
# Returns a single nominal account if the user has access
|
|
49
|
+
# @param id ID of nominal account to fetch
|
|
50
|
+
# @param [Hash] opts the optional parameters
|
|
51
|
+
# @return [NominalAccount]
|
|
52
|
+
describe 'find_nominal_account_by_id test' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# unit tests for find_nominal_accounts
|
|
59
|
+
# All nominal account
|
|
60
|
+
# Returns all nominal account from the system that the user has access to
|
|
61
|
+
# @param [Hash] opts the optional parameters
|
|
62
|
+
# @option opts [Array<String>] :tags tags to filter by
|
|
63
|
+
# @option opts [Integer] :limit Maximum number of results to return
|
|
64
|
+
# @return [Array<NominalAccount>]
|
|
65
|
+
describe 'find_nominal_accounts test' 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
|
+
end
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Beanie ERP API
|
|
3
|
+
|
|
4
|
+
#An API specification for interacting with the Beanie ERP system
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 0.2
|
|
7
|
+
Contact: dev@bean.ie
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for Beanie::NominalAccountCategoryApi
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'NominalAccountCategoryApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = Beanie::NominalAccountCategoryApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of NominalAccountCategoryApi' do
|
|
30
|
+
it 'should create an instance of NominalAccountCategoryApi' do
|
|
31
|
+
expect(@instance).to be_instance_of(Beanie::NominalAccountCategoryApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for add_nominal_account_category
|
|
36
|
+
# Creates a new nominal account category in the system
|
|
37
|
+
# @param nominal_account_categories Nominal account category to add to the system
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @return [NominalAccountCategory]
|
|
40
|
+
describe 'add_nominal_account_category test' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# unit tests for find_nominal_account_categories
|
|
47
|
+
# All nominal account category
|
|
48
|
+
# Returns all nominal account category from the system that the user has access to
|
|
49
|
+
# @param [Hash] opts the optional parameters
|
|
50
|
+
# @option opts [Array<String>] :tags tags to filter by
|
|
51
|
+
# @option opts [Integer] :limit Maximum number of results to return
|
|
52
|
+
# @return [Array<NominalAccountCategory>]
|
|
53
|
+
describe 'find_nominal_account_categories test' 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
|
+
# unit tests for find_nominal_account_category_by_id
|
|
60
|
+
# Find Nominal account category by ID
|
|
61
|
+
# Returns a single nominal account category if the user has access
|
|
62
|
+
# @param id ID of nominal account category to fetch
|
|
63
|
+
# @param [Hash] opts the optional parameters
|
|
64
|
+
# @return [NominalAccountCategory]
|
|
65
|
+
describe 'find_nominal_account_category_by_id test' 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
|
+
end
|