Let's assume we have an entity working with two APIs. For example:
classFile < ApiStruct::Entityclient_serviceCdnClient,only: :showclient_serviceRestClient,only: :indexattr_entity:size,:url,:uuid,:sourceend
If you call File.show it will try to call RestClient.new.show instead of CdnClient.new.show.
Let's assume we have an entity working with two APIs. For example:
If you call
File.showit will try to callRestClient.new.showinstead ofCdnClient.new.show.