lib/economic/rest.rb in economic-rest-0.3.4 vs lib/economic/rest.rb in economic-rest-0.3.5

- old
+ new

@@ -1,61 +1,65 @@ -require 'economic/rest/version' -require 'rest-client' +require "economic/rest/version" +require "rest-client" -require 'economic/base_repo' -require 'economic/base' +require "economic/base_repo" +require "economic/base" -require 'economic/currency' -require 'economic/vat_zone' -require 'economic/vat_zone_repo' -require 'economic/vat_type' -require 'economic/vat_type_repo' -require 'economic/inventory' -require 'economic/customer_group' -require 'economic/product_group' +require "economic/currency" +require "economic/vat_zone" +require "economic/vat_zone_repo" +require "economic/vat_type" +require "economic/vat_type_repo" +require "economic/inventory" +require "economic/customer_group" +require "economic/product_group" -require 'economic/pricing' -require 'economic/delivery' -require 'economic/layout' -require 'economic/layout_repo' -require 'economic/notes' -require 'economic/payment_terms' -require 'economic/pdf' -require 'economic/project' -require 'economic/recipient' -require 'economic/references' +require "economic/pricing" +require "economic/delivery" +require "economic/layout" +require "economic/layout_repo" +require "economic/notes" +require "economic/payment_terms" +require "economic/pdf" +require "economic/project" +require "economic/recipient" +require "economic/references" -require 'economic/customer_repo' -require 'economic/customer' -require 'economic/customer_group_repo' -require 'economic/product_repo' -require 'economic/product' -require 'economic/pricing_repo' +require "economic/customer_repo" +require "economic/customer" +require "economic/customer_group_repo" +require "economic/product_repo" +require "economic/product" +require "economic/pricing_repo" -require 'economic/orders/repo' -require 'economic/order' -require 'economic/orders/archived_repo' -require 'economic/orders/drafts_repo' -require 'economic/orders/sent_repo' -require 'economic/product_group_repo' +require "economic/orders/repo" +require "economic/order" +require "economic/orders/archived_repo" +require "economic/orders/drafts_repo" +require "economic/orders/sent_repo" +require "economic/product_group_repo" -require 'economic/journal_repo' -require 'economic/journal' -require 'economic/journal_voucher_repo' -require 'economic/voucher' +require "economic/journal_repo" +require "economic/journal" +require "economic/journal_voucher_repo" +require "economic/voucher" -require 'economic/accounting_year' -require 'economic/accounting_year_repo' +require "economic/accounting_year" +require "economic/accounting_year_repo" -require 'economic/unit' -require 'economic/unit_repo' +require "economic/unit" +require "economic/unit_repo" +require "economic/company" +require "economic/self" +require "economic/self_repo" + module Economic class Demo def self.hello - RestClient.get('https://restapi.e-conomic.com/', - 'X-AppSecretToken': 'Demo', - 'X-AgreementGrantToken': 'Demo', - 'Content-Type': 'application/json') + RestClient.get("https://restapi.e-conomic.com/", + 'X-AppSecretToken': "Demo", + 'X-AgreementGrantToken': "Demo", + 'Content-Type': "application/json") end end end