Module: Crowdin::ApiResources::ExternalQaChecks
- Defined in:
- lib/crowdin-api/api_resources/external_qa_checks.rb
Instance Method Summary collapse
Instance Method Details
#get_external_qa_check(external_qa_check_id) ⇒ Object
24 25 26 27 28 29 30 31 32 33 |
# File 'lib/crowdin-api/api_resources/external_qa_checks.rb', line 24 def get_external_qa_check(external_qa_check_id) enterprise_mode? || raise_only_for_enterprise_mode_error request = Web::Request.new( connection, :get, "#{config.target_api_url}/external-qa-checks/#{external_qa_check_id}" ) Web::SendRequest.new(request).perform end |
#list_external_qa_checks(query = {}) ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/crowdin-api/api_resources/external_qa_checks.rb', line 10 def list_external_qa_checks(query = {}) enterprise_mode? || raise_only_for_enterprise_mode_error request = Web::Request.new( connection, :get, "#{config.target_api_url}/external-qa-checks", { params: query } ) Web::SendRequest.new(request).perform end |