Sha256: 04772316e0d28f835be7dabb42f6f56462d30755b05b9f5a91664f8086a6ea66
Contents?: true
Size: 405 Bytes
Versions: 10
Compression:
Stored size: 405 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
10 entries across 10 versions & 1 rubygems