19 20 21 22 23
# File 'lib/trumpet/user.rb', line 19 def channels(options={}) options[:credentials] ||= @credentials channels = Trumpet::Request.get("/users/#{name}/channels", options) channels.map { |attributes| Channel.new(attributes) } end