Class: Quintype::API::Config
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
Instance Method Details
#menu_items ⇒ Object
11 12 13 |
# File 'lib/quintype/api/config.rb', line 11 def layout["menu"].map { |i| MenuItem.from_hash(i, self) } end |
#stacks ⇒ Object
15 16 17 |
# File 'lib/quintype/api/config.rb', line 15 def stacks StackCollection.new layout["stacks"].map { |i| Stack.from_hash(i) } end |