Sha256: 58b038af62712bd6a3a83405937a14f66b8661c524fefbc037a202fca49ecdea
Contents?: true
Size: 404 Bytes
Versions: 14
Compression:
Stored size: 404 Bytes
Contents
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
14 entries across 14 versions & 1 rubygems