Class: Camdram::Base
- Inherits:
-
Object
- Object
- Camdram::Base
- Defined in:
- lib/camdram/base.rb
Direct Known Subclasses
Diary, Event, Image, News, Organisation, Performance, Person, Role, Search, Show, User, Venue
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Object
constructor
Instantiate a new object from a JSON hash.
Constructor Details
#initialize(options = {}) ⇒ Object
Instantiate a new object from a JSON hash
11 12 13 |
# File 'lib/camdram/base.rb', line 11 def initialize( = {}) set_from_hash() end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
5 6 7 |
# File 'lib/camdram/base.rb', line 5 def id @id end |