Class: Arena::ChannelResults

Inherits:
Results show all
Defined in:
lib/arena/results.rb

Instance Attribute Summary

Attributes inherited from Results

#current_page, #length, #per, #total_pages

Attributes inherited from Base

#attrs

Instance Method Summary collapse

Methods inherited from Base

attr_reader, #initialize

Constructor Details

This class inherits a constructor from Arena::Base

Instance Method Details

#channelsObject



10
11
12
# File 'lib/arena/results.rb', line 10

def channels
  @channels ||= @attrs['channels'].collect { |channel| Arena::Channel.new(channel) }
end