lib/economic/rest.rb in economic-rest-0.0.1 vs lib/economic/rest.rb in economic-rest-0.1.0

- old
+ new

@@ -1,15 +1,26 @@ require 'economic/rest/version' require 'rest-client' +require 'economic/base_repo' +require 'economic/base' +require 'economic/customer_repo' +require 'economic/customer' +require 'economic/product_repo' +require 'economic/product' + +require 'economic/orders/repo' +require 'economic/order' +require 'economic/orders/archived_repo' +require 'economic/orders/drafts_repo' +require 'economic/orders/sent_repo' + module Economic - module Rest - class Demo - def self.hello - RestClient.get('https://restapi.e-conomic.com/', - 'X-AppSecretToken': 'Demo', - 'X-AgreementGrantToken': 'Demo', - 'Content-Type': 'application/json') - end + class Demo + def self.hello + RestClient.get('https://restapi.e-conomic.com/', + 'X-AppSecretToken': 'Demo', + 'X-AgreementGrantToken': 'Demo', + 'Content-Type': 'application/json') end end end