class HolidaysFromGoogleCalendar::Configuration
Constants
- DEFAULT_CACHE_SIZE
Attributes
cache[RW]
calendar[RW]
credential[RW]
preload[RW]
Public Class Methods
new()
click to toggle source
# File lib/holidays_from_google_calendar/configuration.rb, line 7 def initialize @calendar = { nation: "japanese", language: "en" } @cache = { enable: true, max_size: DEFAULT_CACHE_SIZE } @preload = { enable: true, # Require cache enabled date_range: 1.year } end