Class: Caboose::BlockTypeSummary
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Caboose::BlockTypeSummary
- Defined in:
- app/models/caboose/block_type_summary.rb
Instance Method Summary collapse
Instance Method Details
#parse_api_hash(h) ⇒ Object
16 17 18 19 |
# File 'app/models/caboose/block_type_summary.rb', line 16 def parse_api_hash(h) self.name = h['name'] self.description = h['description'] end |
#source ⇒ Object
12 13 14 |
# File 'app/models/caboose/block_type_summary.rb', line 12 def source self.block_type_source end |