Class: Booker::Models::Type

Inherits:
Model
  • Object
show all
Defined in:
lib/booker/models/type.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Model

constantize, from_hash, from_list, #initialize, time_from_booker_datetime, time_to_booker_datetime, timezone_from_booker_offset!, timezone_from_booker_timezone, #to_hash, #to_json, to_wday

Constructor Details

This class inherits a constructor from Booker::Models::Model

Instance Attribute Details

#IDObject

Returns the value of attribute ID.



4
5
6
# File 'lib/booker/models/type.rb', line 4

def ID
  @ID
end

#NameObject

Returns the value of attribute Name.



4
5
6
# File 'lib/booker/models/type.rb', line 4

def Name
  @Name
end