Method: Crowdin::ApiResources::Bundles#export_bundle
- Defined in:
- lib/crowdin-api/api_resources/bundles.rb
#export_bundle(bundle_id, project_id = config.project_id) ⇒ Object
42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/crowdin-api/api_resources/bundles.rb', line 42 def export_bundle(bundle_id, project_id = config.project_id) bundle_id || raise_parameter_is_required_error(:bundle_id) project_id || raise_project_id_is_required_error request = Web::Request.new( connection, :post, "#{config.target_api_url}/projects/#{project_id}/bundles/#{bundle_id}/exports" ) Web::SendRequest.new(request).perform end |