Class: Fantasydata::News

Inherits:
Base
  • Object
show all
Defined in:
lib/fantasydata/news.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#==, attr_reader, #attrs, #initialize, #update

Constructor Details

This class inherits a constructor from Fantasydata::Base

Instance Attribute Details

#contentObject (readonly)

Returns the value of attribute content.



5
6
7
# File 'lib/fantasydata/news.rb', line 5

def content
  @content
end

#news_idObject (readonly)

Returns the value of attribute news_id.



5
6
7
# File 'lib/fantasydata/news.rb', line 5

def news_id
  @news_id
end

#player_idObject (readonly)

Returns the value of attribute player_id.



5
6
7
# File 'lib/fantasydata/news.rb', line 5

def player_id
  @player_id
end

#sourceObject (readonly)

Returns the value of attribute source.



5
6
7
# File 'lib/fantasydata/news.rb', line 5

def source
  @source
end

#teamObject (readonly)

Returns the value of attribute team.



5
6
7
# File 'lib/fantasydata/news.rb', line 5

def team
  @team
end

#terms_of_useObject (readonly)

Returns the value of attribute terms_of_use.



5
6
7
# File 'lib/fantasydata/news.rb', line 5

def terms_of_use
  @terms_of_use
end

#titleObject (readonly)

Returns the value of attribute title.



5
6
7
# File 'lib/fantasydata/news.rb', line 5

def title
  @title
end

#updatedObject (readonly)

Returns the value of attribute updated.



5
6
7
# File 'lib/fantasydata/news.rb', line 5

def updated
  @updated
end

#urlObject (readonly)

Returns the value of attribute url.



5
6
7
# File 'lib/fantasydata/news.rb', line 5

def url
  @url
end