Sha256: 90e84e7201a4ccc001e8e6123f113a454a4960d77d131525945195cd5f2bef2b

Contents?: true

Size: 350 Bytes

Versions: 8

Compression:

Stored size: 350 Bytes

Contents

# frozen_string_literal: true

require 'fortnox/api/mappers/base'

module Fortnox
  module API
    module Mapper
      class Unit < Fortnox::API::Mapper::Base
        KEY_MAP = {}.freeze
        JSON_ENTITY_WRAPPER = 'Unit'
        JSON_COLLECTION_WRAPPER = 'Units'
      end

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

Version data entries

8 entries across 8 versions & 1 rubygems

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