Module: Zakuro::Output::Response::SingleDay

Defined in:
lib/zakuro/output/response.rb

Overview

SingleDay 1日データ

Class Method Summary collapse

Class Method Details

.create(year:, month:, day:, options: {}) ⇒ Result::Data::SingleDay

1日データを生成する

Parameters:

Returns:



28
29
30
31
32
33
34
35
# File 'lib/zakuro/output/response.rb', line 28

def create(year:, month:, day:, options: {})
  Result::Data::SingleDay.new(
    year: save_year(year: year, month: month, day: day),
    month: save_month(month: month, day: day),
    day: save_day(day: day),
    options: options
  )
end