Class: Backend::BeehiveHelper::Beehive::Box

Inherits:
Array
  • Object
show all
Defined in:
app/helpers/backend/beehive_helper.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.short_nameObject


53
54
55
# File 'app/helpers/backend/beehive_helper.rb', line 53

def self.short_name
  'box'
end

Instance Method Details

#to_hashObject


57
58
59
# File 'app/helpers/backend/beehive_helper.rb', line 57

def to_hash
  { cells: map(&:to_hash) }
end