Sha256: a84bd53d64fc2a05010ea6aea0917074745b9dfc3a78435fd2618b1f5d2b6dcf
Contents?: true
Size: 233 Bytes
Versions: 6
Compression:
Stored size: 233 Bytes
Contents
module FilmOn module GroupHelper def convert_groups(json) hash = JSON.parse(json) hash.map{|gr| FilmOn::Group.new(gr)} end def find_group(id) groups.select{|gr| gr.id == id}.first end end end
Version data entries
6 entries across 6 versions & 1 rubygems