Class: Warframe::Models::News

Inherits:
Base show all
Includes:
Attributes::ETA, Attributes::ID, Attributes::Translations
Defined in:
lib/warframe/models/news.rb

Overview

News data model. /:platform/news

Instance Attribute Summary collapse

Attributes included from Attributes::ID

#id

Attributes included from Attributes::ETA

#eta

Attributes included from Attributes::Translations

#message, #translations

Method Summary

Methods inherited from ObjectifiedHash

#[], from_array, #initialize, #inspect, #size, #to_hash, #to_s

Constructor Details

This class inherits a constructor from Warframe::Models::ObjectifiedHash

Instance Attribute Details

#as_stringString (readonly)

The entire response as a long string.

Returns:

  • (String)


47
48
49
# File 'lib/warframe/models/news.rb', line 47

def as_string
  @as_string
end

#dateString (readonly)

The date the news was released.

Returns:

  • (String)


15
16
17
# File 'lib/warframe/models/news.rb', line 15

def date
  @date
end

The image link from the news page.

Returns:

  • (String)


19
20
21
# File 'lib/warframe/models/news.rb', line 19

def image_link
  @image_link
end

Link for more information on this news.

Returns:

  • (String)


23
24
25
# File 'lib/warframe/models/news.rb', line 23

def link
  @link
end

#prime_accessBoolean (readonly) Also known as: prime_access?

Whether or not the news has to do with Prime Access.

Returns:

  • (Boolean)


27
28
29
# File 'lib/warframe/models/news.rb', line 27

def prime_access
  @prime_access
end

#priorityBoolean (readonly) Also known as: priority?

Whether or not this news is of priority.

Returns:

  • (Boolean)


42
43
44
# File 'lib/warframe/models/news.rb', line 42

def priority
  @priority
end

#streamBoolean (readonly) Also known as: stream?

Whether or not a DEV stream is available.

Returns:

  • (Boolean)


32
33
34
# File 'lib/warframe/models/news.rb', line 32

def stream
  @stream
end

#updateBoolean (readonly) Also known as: update?

Whether or not this news is regarding an update.

Returns:

  • (Boolean)


37
38
39
# File 'lib/warframe/models/news.rb', line 37

def update
  @update
end