def update_subscriber_speed_class(imsis, speed_class)
      imsis = [imsis] if imsis.class != Array
      threads = [], result = []
      imsis.map do |imsi|
        threads << Thread.new do
          result << { 'imsi' => imsi }.merge(@api.post(path: "/subscribers/#{imsi}/update_speed_class", payload: { speedClass: speed_class }))
        end
      end
      threads.each(&:join)
      result
    end
def update_subscriber_speed_class(imsis, speed_class)
      imsis = [imsis] if imsis.class != Array
      threads = [], result = []
      imsis.map do |imsi|
        threads << Thread.new do
          result << { 'imsi' => imsi }.merge(@api.post(path: "/subscribers/#{imsi}/update_speed_class", payload: { speedClass: speed_class }))
        end
      end
      threads.each(&:join)
      result
    end
SIMのプラン変更