Sha256: 87f948e333776c57d70bd5f7bd9c26e7e3e3ba304cff1b9a271d1d1578a84d0b

Contents?: true

Size: 685 Bytes

Versions: 21

Compression:

Stored size: 685 Bytes

Contents

require 'sparkle_formation'

class SparkleFormation

  # Resources helper
  class Resources

    # Heat specific resources collection
    class Heat < Resources

      class << self

        include Bogo::Memoization

        # Load the builtin AWS resources
        #
        # @return [TrueClass]
        def load!
          memoize(:heat_resources, :global) do
            load(
              File.join(
                File.dirname(__FILE__),
                'heat_resources.json'
              )
            )
            true
          end
        end

        # Auto load data when included
        def included(_klass)
          load!
        end

      end

    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
sparkle_formation-3.0.26 lib/sparkle_formation/resources/heat.rb
sparkle_formation-3.0.24 lib/sparkle_formation/resources/heat.rb
sparkle_formation-3.0.22 lib/sparkle_formation/resources/heat.rb
sparkle_formation-3.0.20 lib/sparkle_formation/resources/heat.rb
sparkle_formation-3.0.18 lib/sparkle_formation/resources/heat.rb
sparkle_formation-3.0.16 lib/sparkle_formation/resources/heat.rb
sparkle_formation-3.0.14 lib/sparkle_formation/resources/heat.rb
sparkle_formation-3.0.12 lib/sparkle_formation/resources/heat.rb
sparkle_formation-3.0.10 lib/sparkle_formation/resources/heat.rb
sparkle_formation-3.0.8 lib/sparkle_formation/resources/heat.rb
sparkle_formation-3.0.6 lib/sparkle_formation/resources/heat.rb
sparkle_formation-3.0.4 lib/sparkle_formation/resources/heat.rb
sparkle_formation-3.0.2 lib/sparkle_formation/resources/heat.rb
sparkle_formation-3.0.0 lib/sparkle_formation/resources/heat.rb
sparkle_formation-2.1.8 lib/sparkle_formation/resources/heat.rb
sparkle_formation-2.1.6 lib/sparkle_formation/resources/heat.rb
sparkle_formation-2.1.4 lib/sparkle_formation/resources/heat.rb
sparkle_formation-2.1.2 lib/sparkle_formation/resources/heat.rb
sparkle_formation-2.1.0 lib/sparkle_formation/resources/heat.rb
sparkle_formation-2.0.2 lib/sparkle_formation/resources/heat.rb