Sha256: d070871351d2b88ca53d5073f54c039cd9e1122dd4536bc92956d60fadb972e7
Contents?: true
Size: 561 Bytes
Versions: 1
Compression:
Stored size: 561 Bytes
Contents
# frozen_string_literal: true module Kentaa module Api module Responses class Teams < Base include Enumerable include Kentaa::Api::Responses::Pagination def each(&block) teams.each(&block) end private def teams @teams ||= begin teams = [] if data data.each do |team| teams << Kentaa::Api::Responses::Team.new(team) end end teams end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kentaa-api-0.1.1 | lib/kentaa/api/responses/teams.rb |