Module: SeeClickFix::Client::ServiceRequestQuestions

Included in:
SeeClickFix::Client
Defined in:
lib/seeclickfix/client/service_request_questions.rb

Instance Method Summary collapse

Instance Method Details

#service_request_type_questions(request_type_id, options = {}) ⇒ Array<Hashie::Mash>

Given a service request ID (chosen from the list of valid service request types), list the additional questions that need to be asked.

Examples:

SeeClickFix.service_request_types("1")

Parameters:

  • request_type_id (String)

    Service request ID. A valid service request type ID

  • options (Hash) (defaults to: {})

    A customizable set of options.

  • api_key (Hash)

    a customizable set of options

Returns:

  • (Array<Hashie::Mash>)

See Also:



14
15
16
# File 'lib/seeclickfix/client/service_request_questions.rb', line 14

def service_request_type_questions(request_type_id,options={})
  get("api/request_types/#{request_type_id}/request_type_questions.json", options)
end