struct Srcom::User::Region

Included Modules

Defined in:

srcr/mappings/user/location/region.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def code : String #

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

[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 : User::Name #

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

[View source]