Sha256: 8d92ef67e8569d6ac8621d7950ef4be62eed0a010db4bac3bb8e35e7fca0b1cb
Contents?: true
Size: 495 Bytes
Versions: 4
Compression:
Stored size: 495 Bytes
Contents
# frozen_string_literal: true module LedgerSync module QuickBooksOnline module Serialization module Type class MappingType < LedgerSync::Type::Value attr_reader :mapping def initialize(args = {}) @mapping = args.fetch(:mapping) end def cast_value(args = {}) value = args.fetch(:value) return if value.nil? mapping.fetch(:value) end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems