lib/active_bugzilla/service.rb
def get(bug_ids, params = {})
      bug_ids = Array(bug_ids)
      raise ArgumentError, "bug_ids must be all Numeric" unless bug_ids.all? { |id| id.to_s =~ /^\d+$/ }

      params[:ids] = bug_ids

      results = execute('Bug.get', params)['bugs']
      return [] if results.nil?
      results
    end
def get(bug_ids, params = {})
      bug_ids = Array(bug_ids)
      raise ArgumentError, "bug_ids must be all Numeric" unless bug_ids.all? { |id| id.to_s =~ /^\d+$/ }

      params[:ids] = bug_ids

      results = execute('Bug.get', params)['bugs']
      return [] if results.nil?
      results
    end
def get ( bug_ids , params = { } ) bug_ids = Array ( bug_ids ) raise ArgumentError , "bug_ids must be all Numeric" unless bug_ids . all? { | id | id . to_s =~ / \d / } params [ :ids ] = bug_ids results = execute ( 'Bug.get' , params ) [ 'bugs' ] return [ ] if results . nil? results end
http://www.bugzilla.org/docs/4.4/en/html/api/Bugzilla/WebService/Bug.html#get
 XMLRPC Bug Query of an existing bug

 Example:
   # Perform an xmlrpc query for a single bug.
   bz.get(948970)

 @param bug_id [Array, String, Fixnum] One or more bug ids to process.
 @return [Array] Array of matching bug hashes.
http : // www . bugzilla . org / docs / 4 . 4 / en / html / api / Bugzilla / WebService / Bug . html#get XMLRPC Bug Query of an existing bug