Sha256: 389f7738b89af48307d9a326130559bbbb514f64051c63a627c80953e11ac672
Contents?: true
Size: 421 Bytes
Versions: 22
Compression:
Stored size: 421 Bytes
Contents
# frozen_string_literal: true # typed: true module WorkOS # Module to include an explicit method for converting a model into a Hash containing # its attributes. Default implementation will simply call to_json. Individual classes # may override. module HashProvider include Kernel def to_json(*) raise 'Must be implemented by including class.' end def to_h to_json end end end
Version data entries
22 entries across 22 versions & 1 rubygems