struct OfficeRnd::Resource

Defined in:

office_rnd/models.cr

Constant Summary

MAPPING = {Type::MeetingRoom => "meeting_room", Type::PrivateOffices => "team_room", Type::PrivateOfficeDesk => "desk_tr", Type::DedicatedDesks => "desk", Type::HotDesks => "hotdesk"}

Constructors

Instance Method Summary

Constructor methods inherited from struct OfficeRnd::Data

new(pull : JSON::PullParser) new

Constructor Detail

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

[View source]

Instance Method Detail

def floor_id : String #

[View source]
def name : String #

[View source]
def office_id : String #

[View source]
def rate_id : String | Nil #

[View source]
def type : Type #

[View source]