Class: Booker::V4::Models::Type

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

Constant Summary

Constants inherited from Model

Model::CONSTANTIZE_MODULE

Instance Attribute Summary collapse

Method Summary

Methods inherited from Model

constantize, from_hash, from_list, #initialize, #to_hash, #to_json

Constructor Details

This class inherits a constructor from Booker::Model

Instance Attribute Details

#IDObject

Returns the value of attribute ID.



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

def ID
  @ID
end

#NameObject

Returns the value of attribute Name.



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

def Name
  @Name
end