struct Srcom::Series

Overview

Has shorthand methods to getting the resources that the Links in #links point to.

Included Modules

Defined in:

srcr/mappings/series/series.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def abbreviation : String #

[View source]
def abbreviation=(abbreviation : String) #

[View source]
def assets : Game::Assets #

[View source]
def assets=(assets : Game::Assets) #

[View source]
def created : Time? #

[View source]
def created=(created : Time?) #

[View source]
def games(page_size : Int32 = 20) : Srcom::Api::PageIterator(Game) #

Gets all Games that belong to this Series.

NOTE Depending on the series this request might take quite a while. It also defaults to only 20 results per page as otherwise it might very well 503.


[View source]
def id : String #

[View source]
def id=(id : String) #

[View source]
def links : Array(Link) #

[View source]
def links=(links : Array(Link)) #

[View source]
def moderators : Array(User) #

[View source]
def moderators=(moderators : Array(User)) #

[View source]
def name #

Shorthand for Name#international.

NOTE This method is present on all things that have the international + japanese name structure.


[View source]
def names : Game::Name #

[View source]
def names=(names : Game::Name) #

[View source]
def weblink : String #

[View source]
def weblink=(weblink : String) #

[View source]