Method: Weblate::ProjectsApi#projects_components_create

Defined in:
lib/weblate/api/projects_api.rb

#projects_components_create(slug, component, opts = {}) ⇒ Component

Translation projects API.

Parameters:

  • slug (String)
  • component (Component)
  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



236
237
238
239
# File 'lib/weblate/api/projects_api.rb', line 236

def projects_components_create(slug, component, opts = {})
  data, _status_code, _headers = projects_components_create_with_http_info(slug, component, opts)
  data
end