Skip to Content Skip to Search
Methods
I
Included Modules

Constants

RESOURCE_TYPES = %w[plan protected_page]
 

Instance Public methods

item_ids()

# File app/models/db/folder.rb, line 23
def item_ids
  items.pluck(:id)
end

item_type()

# File app/models/db/folder.rb, line 27
def item_type
  "DB::#{resource_type.camelize}"
end

items()

# File app/models/db/folder.rb, line 19
def items
  send(resource_type.pluralize)
end