Sha256: 67b5c841395c9c0007c2dea1278c12c6a466b479a5133a1d946c72206faf180a
Contents?: true
Size: 435 Bytes
Versions: 25
Compression:
Stored size: 435 Bytes
Contents
# frozen_string_literal: true module ChartMogul module Concerns module Summary def self.included(base) base.send :prepend, InstanceMethods base.instance_eval do readonly_attr :summary end end module InstanceMethods def set_summary(summary_attributes) @summary = ChartMogul::Summary.new_from_json(summary_attributes) end end end end end
Version data entries
25 entries across 25 versions & 1 rubygems