Sha256: f42937fc759b66d9d6917842389723fcd5d0d7ae043350806af48ee9f6a4b869

Contents?: true

Size: 902 Bytes

Versions: 3

Compression:

Stored size: 902 Bytes

Contents

module AppManifest
  # Setup attributes that are shared on Manifest and Environment models
  module EnvironmentAttributes
    def self.included(base)
      base.attribute :addons,      NullableArray[Addon]
      base.attribute :buildpacks,  NullableArray[Buildpack]
      base.attribute :description, String
      base.attribute :env,         Hash[String => Env],       default: nil
      base.attribute :formation,   Hash[String => Formation], default: nil
      base.attribute :image,       String
      base.attribute :keywords,    NullableArray[String]
      base.attribute :logo,        String
      base.attribute :name,        String
      base.attribute :repository,  String
      base.attribute :scripts,     Hash[String => String],    default: nil
      base.attribute :stack,       String
      base.attribute :success_url, String
      base.attribute :website,     String
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
app_manifest-0.5.0 lib/app_manifest/environment_attributes.rb
app_manifest-0.4.0 lib/app_manifest/environment_attributes.rb
app_manifest-0.3.0 lib/app_manifest/environment_attributes.rb