lib/economic/customer.rb in economic-rest-0.2.0 vs lib/economic/customer.rb in economic-rest-0.2.1
- old
+ new
@@ -22,18 +22,18 @@
field :telephoneAndFaxNumber
field :vatNumber
field :website
field :zip
- field :attention
- field :customerContact
- field :customerGroup
- field :defaultDeliveryLocation
- field :invoices
- field :layout
- field :paymentTerms
- field :salesPerson
- field :templates
- field :totals
- field :vatZone
+ # field :attention
+ # field :customerContact
+ relation :customerGroup, fields: [:customerGroupNumber]
+ # field :defaultDeliveryLocation
+ # field :invoices
+ # field :layout
+ relation :paymentTerms, fields: [:paymentTermsNumber]
+ # field :salesPerson
+ # field :templates
+ # field :totals
+ relation :vatZone, fields: [:vatZoneNumber]
end
end