class ScrapCbf::Round
Constants
- ATTRS_CHAMPIONSHIP
- ATTRS_ROUND
Public Instance Methods
to_h()
click to toggle source
# File lib/scrap_cbf/models/round.rb, line 18 def to_h { championship: championship, serie: serie, number: number, matches: matches.to_h }.with_indifferent_access end
Private Instance Methods
attrs_acessor()
click to toggle source
# File lib/scrap_cbf/models/round.rb, line 29 def attrs_acessor (ATTRS_CHAMPIONSHIP + ATTRS_ROUND) end