Class: Fanfeedrb::Fanfeedr::Team

Inherits:
Abstract
  • Object
show all
Defined in:
lib/fanfeedrb/fanfeedr/team.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Abstract

accessor, date_reader, #id, reader, #to_xml

Constructor Details

#initialize(fanfeedr, attributes = {}) ⇒ Team

reader :level, :name, :id



7
8
9
10
# File 'lib/fanfeedrb/fanfeedr/team.rb', line 7

def initialize(fanfeedr, attributes = {})
  @fanfeedr = fanfeedr
  super(attributes)
end

Instance Attribute Details

#fanfeedrObject (readonly)

Returns the value of attribute fanfeedr.



4
5
6
# File 'lib/fanfeedrb/fanfeedr/team.rb', line 4

def fanfeedr
  @fanfeedr
end