Sha256: c5c4c9e85d00e674f580496e0b53b21fd3701aebde00b91af46d26fd71d47d60

Contents?: true

Size: 237 Bytes

Versions: 6

Compression:

Stored size: 237 Bytes

Contents

module Locomotive::Coal
  module Resources

    class Sections < Base

      def index
        get(resources_name).map do |attributes|
          Resource.new(attributes)
        end
      end

      alias :all :index

    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
locomotivecms_coal-1.8.0.alpha1 lib/locomotive/coal/resources/sections.rb
locomotivecms_coal-1.7.0 lib/locomotive/coal/resources/sections.rb
locomotivecms_coal-1.6.0 lib/locomotive/coal/resources/sections.rb
locomotivecms_coal-1.6.0.rc2 lib/locomotive/coal/resources/sections.rb
locomotivecms_coal-1.6.0.rc1 lib/locomotive/coal/resources/sections.rb
locomotivecms_coal-1.6.0.beta1 lib/locomotive/coal/resources/sections.rb