class Locomotive::Coal::Resources::Sections

Public Instance Methods

all()
Alias for: index
index() click to toggle source
# File lib/locomotive/coal/resources/sections.rb, line 6
def index
  get(resources_name).map do |attributes|
    Resource.new(attributes)
  end
end
Also aliased as: all