Sha256: 8779ea0da4900b02a9eb07f0f4b3d5d6b84f1ff25e1427e762e3a1f3a8e6b86f
Contents?: true
Size: 345 Bytes
Versions: 2
Compression:
Stored size: 345 Bytes
Contents
module JsonApiClient module Helpers module Parsable extend ActiveSupport::Concern included do class_attribute :parser, instance_accessor: false self.parser = Parsers::Parser end module ClassMethods def parse(data) parser.parse(self, data) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
json_api_client-1.0.0.beta5 | lib/json_api_client/helpers/parsable.rb |
json_api_client-1.0.0.beta4 | lib/json_api_client/helpers/parsable.rb |