From 40326d7a4fcd1d7a9b00c70547f6eaeef5611b75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=BCseyin=20Tekinaslan?= Date: Tue, 30 Oct 2018 01:31:32 +0300 Subject: [PATCH] Fix action names for Nokul --- ...s_serializer.rb => student_drop_out_types_serializer.rb} | 2 +- ...rializer.rb => student_studentship_rights_serializer.rb} | 2 +- ...alizer.rb => student_studentship_statuses_serializer.rb} | 2 +- app/services/lib/services/yoksis/constants.rb | 6 +++--- config/routes.rb | 6 +++--- 5 files changed, 9 insertions(+), 9 deletions(-) rename app/serializers/yoksis/references/{student_dropout_types_serializer.rb => student_drop_out_types_serializer.rb} (59%) rename app/serializers/yoksis/references/{studentship_rights_serializer.rb => student_studentship_rights_serializer.rb} (57%) rename app/serializers/yoksis/references/{studentship_statuses_serializer.rb => student_studentship_statuses_serializer.rb} (56%) diff --git a/app/serializers/yoksis/references/student_dropout_types_serializer.rb b/app/serializers/yoksis/references/student_drop_out_types_serializer.rb similarity index 59% rename from app/serializers/yoksis/references/student_dropout_types_serializer.rb rename to app/serializers/yoksis/references/student_drop_out_types_serializer.rb index 77b3d4b9..d17c978f 100644 --- a/app/serializers/yoksis/references/student_dropout_types_serializer.rb +++ b/app/serializers/yoksis/references/student_drop_out_types_serializer.rb @@ -2,7 +2,7 @@ module Yoksis module References - class StudentDropoutTypesSerializer < BaseSerializer + class StudentDropOutTypesSerializer < BaseSerializer end end end diff --git a/app/serializers/yoksis/references/studentship_rights_serializer.rb b/app/serializers/yoksis/references/student_studentship_rights_serializer.rb similarity index 57% rename from app/serializers/yoksis/references/studentship_rights_serializer.rb rename to app/serializers/yoksis/references/student_studentship_rights_serializer.rb index 2979b674..690d98b7 100644 --- a/app/serializers/yoksis/references/studentship_rights_serializer.rb +++ b/app/serializers/yoksis/references/student_studentship_rights_serializer.rb @@ -2,7 +2,7 @@ module Yoksis module References - class StudentshipRightsSerializer < BaseSerializer + class StudentStudentshipRightsSerializer < BaseSerializer end end end diff --git a/app/serializers/yoksis/references/studentship_statuses_serializer.rb b/app/serializers/yoksis/references/student_studentship_statuses_serializer.rb similarity index 56% rename from app/serializers/yoksis/references/studentship_statuses_serializer.rb rename to app/serializers/yoksis/references/student_studentship_statuses_serializer.rb index f7c6dc86..613b5b2a 100644 --- a/app/serializers/yoksis/references/studentship_statuses_serializer.rb +++ b/app/serializers/yoksis/references/student_studentship_statuses_serializer.rb @@ -2,7 +2,7 @@ module Yoksis module References - class StudentshipStatusesSerializer < BaseSerializer + class StudentStudentshipStatusesSerializer < BaseSerializer end end end diff --git a/app/services/lib/services/yoksis/constants.rb b/app/services/lib/services/yoksis/constants.rb index 6db0712e..0f61d4d1 100644 --- a/app/services/lib/services/yoksis/constants.rb +++ b/app/services/lib/services/yoksis/constants.rb @@ -88,7 +88,7 @@ class References < Base result: %i[get_ogrenci_engel_turu_response referanslar], status: %i[get_ogrenci_engel_turu_response sonuc durum_aciklama], }, - student_dropout_types: { + student_drop_out_types: { operation: :get_ogrenci_ayrilma_nedeni, result: %i[get_ogrenci_ayrilma_nedeni_response referanslar], status: %i[get_ogrenci_ayrilma_nedeni_response sonuc durum_aciklama], @@ -123,12 +123,12 @@ class References < Base result: %i[get_ceza_turu_response referanslar], status: %i[get_ceza_turu_response sonuc durum_aciklama], }, - studentship_rights: { + student_studentship_rights: { operation: :get_ogrenci_ogrencilik_hakki, result: %i[get_ogrenci_ogrencilik_hakki_response referanslar], status: %i[get_ogrenci_ogrencilik_hakki_response sonuc durum_aciklama], }, - studentship_statuses: { + student_studentship_statuses: { operation: :get_ogrencilik_statusu, result: %i[get_ogrencilik_statusu_response referanslar], status: %i[get_ogrencilik_statusu_response sonuc durum_aciklama], diff --git a/config/routes.rb b/config/routes.rb index 29627e70..a3701ff9 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -40,15 +40,15 @@ get :cities get :staff_titles get :student_disability_types - get :student_dropout_types + get :student_drop_out_types get :student_education_levels get :student_entrance_point_types get :student_entrance_types get :student_grades get :student_grading_systems get :student_punishment_types - get :studentship_rights - get :studentship_statuses + get :student_studentship_rights + get :student_studentship_statuses get :unit_instruction_languages get :unit_instruction_types get :unit_statuses