Sha256: 789d231653138c8806ae5711a63c583df5e8f0b987f4b2d04f4ff42246d8755d

Contents?: true

Size: 484 Bytes

Versions: 8

Compression:

Stored size: 484 Bytes

Contents

# frozen_string_literal: true

require 'fortnox/api/mappers/base'

module Fortnox
  module API
    module Mapper
      class EmailInformation < Fortnox::API::Mapper::Base
        KEY_MAP = {
          email_address_bcc: 'EmailAddressBCC',
          email_address_cc: 'EmailAddressCC'
        }.freeze
        JSON_ENTITY_WRAPPER = JSON_COLLECTION_WRAPPER = 'EmailInformation'
      end

      Registry.register(EmailInformation.canonical_name_sym, EmailInformation)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fortnox-api-0.8.0 lib/fortnox/api/mappers/email_information.rb
fortnox-api-0.7.2 lib/fortnox/api/mappers/email_information.rb
fortnox-api-0.7.1 lib/fortnox/api/mappers/email_information.rb
fortnox-api-0.7.0 lib/fortnox/api/mappers/email_information.rb
fortnox-api-0.6.3 lib/fortnox/api/mappers/email_information.rb
fortnox-api-0.6.2 lib/fortnox/api/mappers/email_information.rb
fortnox-api-0.6.1 lib/fortnox/api/mappers/email_information.rb
fortnox-api-0.6.0 lib/fortnox/api/mappers/email_information.rb