lib/moysklad/resources.rb in moysklad-0.1.5 vs lib/moysklad/resources.rb in moysklad-0.2.0
- old
+ new
@@ -9,16 +9,16 @@
end
require_relative 'resources/base'
require_relative 'resources/indexed'
require_relative 'resources/stock'
- require_relative 'resources/metadata'
+ require_relative 'resources/embedded_entity_metadata'
+ require_relative 'resources/embedded_entity_metadata_indexed'
require_relative 'resources/custom_entity_metadata'
- require_relative 'resources/metadata_indexed'
require_relative 'resources/subresource'
# Простые ресурсы, которые создаются автоматически
- %w{Goods GoodFolders Uoms Countries Features CustomEntities CustomerOrders Warehouses Companies Consignments MyCompanies}.each do |klass_name|
+ %w{Goods GoodFolders Uoms PriceType Countries Features CustomEntities CustomerOrders Warehouses Companies Consignments MyCompanies}.each do |klass_name|
const_set klass_name, Class.new( Base )
end
end