class Cb::Requests::Application::Update
Public Instance Methods
body()
click to toggle source
# File lib/cb/requests/application/update.rb, line 36 def body { ApplicationDID: args[:application_did], JobDID: args[:job_did], IsSubmitted: args[:is_submitted], ExternalUserID: args[:external_user_id], VID: args[:vid], BID: args[:bid], SID: args[:sid], SiteID: args[:site_id], IPathID: args[:ipath_id], TNDID: args[:tn_did], Resume: resume_info(args[:resume]), CoverLetter: cover_letter_info(args[:cover_letter]), Responses: parsed_responses(args[:responses]), Test: test? }.to_json end
endpoint_uri()
click to toggle source
# File lib/cb/requests/application/update.rb, line 20 def endpoint_uri Cb.configuration.uri_application.sub ':did', args[:application_did].to_s end
headers()
click to toggle source
# File lib/cb/requests/application/update.rb, line 28 def headers { 'DeveloperKey' => Cb.configuration.dev_key, 'HostSite' => Cb.configuration.host_site, 'Content-Type' => 'application/json' } end
http_method()
click to toggle source
# File lib/cb/requests/application/update.rb, line 24 def http_method :put end