Exception: PagSeguro::Error::InvalidDayOfYear

Inherits:
Exception
  • Object
show all
Defined in:
lib/pag_seguro/day_of_year.rb

Instance Method Summary collapse

Constructor Details

#initialize(date_of_year) ⇒ InvalidDayOfYear



4
5
6
# File 'lib/pag_seguro/day_of_year.rb', line 4

def initialize(date_of_year)
  super("DateOfYear should be a valid date: (month: #{date_of_year.month}, day: #{date_of_year.day})")
end