class Spritpreisrechner::OpeningHour
Attributes
day[R]
from[R]
label[R]
order[R]
to[R]
Public Class Methods
new(opening_hour)
click to toggle source
# File lib/spritpreisrechner/opening_hour.rb, line 5 def initialize(opening_hour) @day = opening_hour[:day] @label = opening_hour[:label] @order = opening_hour[:order] @from = opening_hour[:from] @to = opening_hour[:to] end