I want to have ability to call below class by different methods.
class SumClass def initialize(data) @day = data[:day] @sum_type = data[:sum_type]