Sha256: a24b089d2ce3701405c612190d76bfc0a9a476f2a4e7278562baac6923d112f3
Contents?: true
Size: 516 Bytes
Versions: 17
Compression:
Stored size: 516 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) super() 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
17 entries across 17 versions & 2 rubygems