README.md in joy_ussd_engine-0.1.6 vs README.md in joy_ussd_engine-0.1.7

- old
+ new

@@ -87,11 +87,11 @@ ```ruby class MyController < ApplicationController skip_before_action :verify_authenticity_token def create - joy_ussd_engine = JoyUssdEngine::Core.new(ussd_params, Ussd::Transformers::HubtelTransformer, start_point: Ussd::Menus::StartMenu, end_point: Ussd::Menus::EndMenu) + joy_ussd_engine = JoyUssdEngine::Core.new(ussd_params, JoyUssdEngine::HubtelTransformer, start_point: Ussd::Menus::StartMenu, end_point: Ussd::Menus::EndMenu) response = joy_ussd_engine.process render json: response, status: :created end def ussd_params @@ -144,10 +144,11 @@ def request_params(params) { session_id: params[:Mobile], message: params[:Message], ClientState: params[:ClientState], - Type: params[:Type] + Type: params[:Type], + data: params } end # We check if hubtel sends a params[:Type] == 'Release' and terminate the application # OR