module Cloudinary::BaseApi

def self.extended(base)

def self.extended(base)
  [Error, NotFound, NotAllowed, AlreadyExists, RateLimited, BadRequest, GeneralError, AuthorizationRequired, Response].each do |constant|
    base.const_set(constant.name.split("::").last, constant)
  end
end