module MITS::V3_0::Mapper::CompanyMapper

Public Instance Methods

company(tag, entity = Company) click to toggle source
# File lib/mits/v3.0/mapper/company_mapper.rb, line 5
def company(tag, entity = Company)
  entity.new(address:  address(tag[:Address]),
              id:      tag[:Identification][:IDValue],
              logo:    tag[:Logo],
              name:    tag[:CompanyName],
              website: tag[:Website])
end