You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: hipchat.rb
    path of file: ./repos/fastlane/fastlane/lib/fastlane/actions
    
    the code of the file until where you have to start completion: module Fastlane
  module Actions
    module SharedValues
    end

    class HipchatAction < Action
      def self.run(options)
        require 'net/http'
        require 'uri'

        api_token = op
    
      def self.check_response_code(response, channel)
        case response.code.to_i
        when 200, 204
          true
        when 404
          UI.user_error!("Channel `#{channel}` not found")
        when 401
          UI.user_error!("Access denied for channel `#{channel}`")
        else
          UI.user_error!("Unexpected #{response.code} for `#{channel}` with response: #{response.body}")
        end