Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.23 KB

ProjectPost.md

File metadata and controls

30 lines (24 loc) · 1.23 KB

LaunchDarklyApi::ProjectPost

Properties

Name Type Description Notes
name String A human-friendly name for the project.
key String A unique key used to reference the project in your code.
include_in_snippet_by_default Boolean Whether or not flags created in this project are made available to the client-side JavaScript SDK by default. [optional]
default_client_side_availability DefaultClientSideAvailabilityPost [optional]
tags Array<String> Tags for the project [optional]
environments Array<EnvironmentPost> Creates the provided environments for this project. If omitted default environments will be created instead. [optional]
naming_convention NamingConvention [optional]

Example

require 'launchdarkly_api'

instance = LaunchDarklyApi::ProjectPost.new(
  name: My Project,
  key: project-key-123abc,
  include_in_snippet_by_default: true,
  default_client_side_availability: null,
  tags: [&quot;ops&quot;],
  environments: null,
  naming_convention: null
)