lib/chartmogul/concerns/summary.rb in chartmogul-ruby-1.1.2 vs lib/chartmogul/concerns/summary.rb in chartmogul-ruby-1.1.3

- old
+ new

@@ -1,20 +1,20 @@ -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 - +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 +