lib/economic/rest.rb in economic-rest-0.3.6 vs lib/economic/rest.rb in economic-rest-0.4.0

- old
+ new

@@ -1,10 +1,16 @@ require "economic/rest/version" +require "dotenv/load" require "rest-client" +require "savon" +require "awesome_print" +require "active_support/inflector" require "economic/base_repo" require "economic/base" +require "economic/soap_api" +require "economic/concerns/soap_methods" require "economic/currency" require "economic/vat_zone" require "economic/vat_zone_repo" require "economic/vat_type" @@ -17,10 +23,11 @@ require "economic/delivery" require "economic/layout" require "economic/layout_repo" require "economic/notes" require "economic/payment_terms" +require "economic/payment_terms_repo" require "economic/pdf" require "economic/project" require "economic/recipient" require "economic/references" @@ -36,10 +43,20 @@ require "economic/orders/archived_repo" require "economic/orders/drafts_repo" require "economic/orders/sent_repo" require "economic/product_group_repo" +require "economic/invoices/repo" +require "economic/invoice" +require "economic/invoices/drafts_repo" +require "economic/invoices/booked_repo" +require "economic/invoices/not_due_repo" +require "economic/invoices/overdue_repo" +require "economic/invoices/paid_repo" +require "economic/invoices/sent_repo" +require "economic/invoices/unpaid_repo" + require "economic/journal_repo" require "economic/journal" require "economic/journal_voucher_repo" require "economic/voucher" @@ -47,13 +64,15 @@ require "economic/accounting_year_repo" require "economic/unit" require "economic/unit_repo" -require 'economic/user' +require "economic/user" + require "economic/company" require "economic/self" require "economic/self_repo" +require "economic/line" module Economic class Demo def self.hello RestClient.get("https://restapi.e-conomic.com/",