Method: Vonage::Meetings::Themes#create

Defined in:
lib/vonage/meetings/themes.rb

#create(main_color:, brand_text:, **params) ⇒ Response

Deprecated.

Create a new theme.

Parameters:

  • :main_color (required, String)

    The main color that will be used for the meeting room.

  • :brand_text (required, String)

    The text that will appear on the meeting homepage, in the case that there is no brand image

  • :theme_name (optional, String)

    The name of the theme (must be unique). If null, a UUID will automatically be generated

  • :short_company_url (optional, String)

    The URL that will represent every meeting room with this theme. The value must be unique across Vonage

Returns:

See Also:



59
60
61
62
63
64
65
66
# File 'lib/vonage/meetings/themes.rb', line 59

def create(main_color:, brand_text:, **params)
  logger.info('This method is deprecated and will be removed in a future release.')
  request(
    "/v1/meetings/themes",
    params: params.merge(main_color: main_color, brand_text: brand_text),
    type: Post
  )
end