class TandaCLI::State::Serialisable::Organisation

Included Modules

Defined in:

tanda_cli/state/serialisable/organisation.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.from(organisation : API::Types::Me::Organisation) : self #

[View source]
def self.new(id : Int32, name : String, user_id : Int32, current : Bool = false) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Class Method Detail

def self.from(me : API::Types::Me) : Array(self) #

[View source]

Instance Method Detail

def current=(current : Bool) #

[View source]
def current? : Bool #

[View source]
def id : Int32 #

[View source]
def name : String #

[View source]
def user_id : Int32 #

[View source]