def all
      events = Event.get("/eventlist", :query =>{"id" => @@id , "account" => @@account })
      event_sales = Event.get("/eventsales", :query =>{"id" => @@id , "account" => @@account })
      parsed_event = []
      events.parsed_response["document"]["event"].each do |event|
        parsed_event << Event.new(@id,@account, event)
      end
      return parsed_event
    end
def all
      events = Event.get("/eventlist", :query =>{"id" => @@id , "account" => @@account })
      event_sales = Event.get("/eventsales", :query =>{"id" => @@id , "account" => @@account })
      parsed_event = []
      events.parsed_response["document"]["event"].each do |event|
        parsed_event << Event.new(@id,@account, event)
      end
      return parsed_event
    end
Returns all the account's events from brownpapersticker