Sha256: 256b9fc6f92ed6dec4d07a4ff9e32d040a26d2725640ef2ea8f6d1ba0b6bcf2d

Contents?: true

Size: 511 Bytes

Versions: 43

Compression:

Stored size: 511 Bytes

Contents

# frozen_string_literal: true

module Extension
  module Models
    module ServerConfig
      class Root < Base
        include SmartProperties

        property  :app, accepts: ServerConfig::App
        property! :extensions, accepts: Array, default: -> { [] }
        property! :port, accepts: Integer, default: 39351
        property  :public_url, accepts: String
        property  :store, accepts: String

        def to_yaml
          to_h.to_yaml.gsub("---\n", "")
        end
      end
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
shopify-cli-2.36.0 lib/project_types/extension/models/server_config/root.rb
shopify-cli-2.35.0 lib/project_types/extension/models/server_config/root.rb
shopify-cli-2.34.0 lib/project_types/extension/models/server_config/root.rb
shopify-cli-2.33.1 lib/project_types/extension/models/server_config/root.rb
shopify-cli-2.33.0 lib/project_types/extension/models/server_config/root.rb
shopify-cli-2.32.1 lib/project_types/extension/models/server_config/root.rb
shopify-cli-2.32.0 lib/project_types/extension/models/server_config/root.rb
shopify-cli-2.31.0 lib/project_types/extension/models/server_config/root.rb
shopify-cli-2.30.0 lib/project_types/extension/models/server_config/root.rb
shopify-cli-2.29.0 lib/project_types/extension/models/server_config/root.rb
shopify-cli-2.28.0 lib/project_types/extension/models/server_config/root.rb
shopify-cli-2.27.0 lib/project_types/extension/models/server_config/root.rb
shopify-cli-2.26.0 lib/project_types/extension/models/server_config/root.rb
shopify-cli-2.25.0 lib/project_types/extension/models/server_config/root.rb
shopify-cli-2.24.0 lib/project_types/extension/models/server_config/root.rb
shopify-cli-2.23.0 lib/project_types/extension/models/server_config/root.rb
shopify-cli-2.22.0 lib/project_types/extension/models/server_config/root.rb
shopify-cli-2.21.0 lib/project_types/extension/models/server_config/root.rb
shopify-cli-2.20.1 lib/project_types/extension/models/server_config/root.rb
shopify-cli-2.20.0 lib/project_types/extension/models/server_config/root.rb