Module: NgpVan::Client::SurveyQuestions

Included in:
NgpVan::Client
Defined in:
lib/ngp_van/client/survey_questions.rb

Instance Method Summary collapse

Instance Method Details

#survey_question(id:, params: {}) ⇒ Object



10
11
12
13
# File 'lib/ngp_van/client/survey_questions.rb', line 10

def survey_question(id:, params: {})
  verify_id(id)
  get(path: "surveyQuestions/#{id}", params: params)
end

#survey_questions(params: {}) ⇒ Object



6
7
8
# File 'lib/ngp_van/client/survey_questions.rb', line 6

def survey_questions(params: {})
  get(path: 'surveyQuestions', params: params)
end