Sha256: 01c611673cbf3721359632927507aee2eac1f16e9a6f9623000ad8e524d06e33
Contents?: true
Size: 338 Bytes
Versions: 36
Compression:
Stored size: 338 Bytes
Contents
module JsonApiClient class MetaData include Helpers::DynamicAttributes attr_accessor :record_class def initialize(data, record_class = nil) self.record_class = record_class self.attributes = data end protected def key_formatter record_class && record_class.key_formatter end end end
Version data entries
36 entries across 36 versions & 2 rubygems