mirror of
https://github.com/internetee/registry.git
synced 2025-08-15 14:03:49 +02:00
added test env for repp endpoints
This commit is contained in:
parent
95f5bad64b
commit
7ec9253fc9
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
module Repp
|
module Repp
|
||||||
module V1
|
module V1
|
||||||
module Registrar
|
module Registrar
|
||||||
if Rails.env.development? || Rails.env.staging?
|
if Rails.env.development? || Rails.env.staging? || Rails.env.test?
|
||||||
class AccreditationInfoController < BaseController
|
class AccreditationInfoController < BaseController
|
||||||
api :GET, 'repp/v1/registrar/accreditation/get_info'
|
api :GET, 'repp/v1/registrar/accreditation/get_info'
|
||||||
desc 'check login user and return data'
|
desc 'check login user and return data'
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
module Repp
|
module Repp
|
||||||
module V1
|
module V1
|
||||||
module Registrar
|
module Registrar
|
||||||
if Rails.env.development? || Rails.env.staging?
|
if Rails.env.development? || Rails.env.staging? || Rails.env.test?
|
||||||
class AccreditationResultsController < ActionController::API
|
class AccreditationResultsController < ActionController::API
|
||||||
before_action :authenticate_shared_key
|
before_action :authenticate_shared_key
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue