Method: Crowdin::ApiResources::Bundles#get_bundle
- Defined in:
- lib/crowdin-api/api_resources/bundles.rb
#get_bundle(bundle_id, project_id = config.project_id) ⇒ Object
92 93 94 95 96 97 98 99 100 101 102 |
# File 'lib/crowdin-api/api_resources/bundles.rb', line 92 def get_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, :get, "#{config.target_api_url}/projects/#{project_id}/bundles/#{bundle_id}" ) Web::SendRequest.new(request).perform end |