Class: Fortnox::API::Mapper::Article
- Defined in:
- lib/fortnox/api/mappers/article.rb
Constant Summary collapse
- KEY_MAP =
{ ean: 'EAN', eu_account: 'EUAccount', eu_vat_account: 'EUVATAccount', vat: 'VAT' }.freeze
- JSON_ENTITY_WRAPPER =
'Article'.freeze
- JSON_COLLECTION_WRAPPER =
'Articles'.freeze
Constants inherited from Base
Method Summary
Methods inherited from Base
Methods included from ToJSON
#entity_to_hash, included, #wrap_entity_json_hash
Methods included from FromJSON
#wrapped_json_collection_to_entities_hash, #wrapped_json_hash_to_entity_hash