class ScrapCbf::Team
Constants
- ATTRS_TEAM
Public Instance Methods
to_h()
click to toggle source
# File lib/scrap_cbf/models/team.rb, line 13 def to_h ATTRS_TEAM.each_with_object({}) do |attribute, hash| hash[attribute] = send attribute end.with_indifferent_access end