Sha256: 77c09408fe99e141183e535272b8a299a698d6133fa8211c0ec5742406e14d64
Contents?: true
Size: 453 Bytes
Versions: 27
Compression:
Stored size: 453 Bytes
Contents
require 'lol/model' module Lol class Roster < Lol::Model # @!attribute [r] owner_id # @return [Fixnum] Team Owner Id attr_reader :owner_id # @!attribute [r] member_list # @return [Array] List of members attr_reader :member_list private attr_writer :owner_id def member_list= collection @member_list = collection.map do |c| c.respond_to?(:[]) && TeamMember.new(c) || c end end end end
Version data entries
27 entries across 27 versions & 1 rubygems