Class: Fizzy::Api::Endpoints::CalculateOutcome

Inherits:
Endpoint
  • Object
show all
Defined in:
lib/fizzy/api/endpoints/calculate_outcome.rb

Instance Method Summary collapse

Instance Method Details

#executeObject



10
11
12
13
14
15
# File 'lib/fizzy/api/endpoints/calculate_outcome.rb', line 10

def execute
  response = Api.basic_auth_session.post("/dossier/#{dossier_id}"\
                                         "/protocol_subscriptions/#{protocol_subscription_id}"\
                                         '/calculate')
  process_response(response)
end